author | Michael Haggerty <mhagger@alum.mit.edu> | |
Thu, 4 Aug 2011 04:36:29 +0000 (06:36 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 4 Aug 2011 22:53:19 +0000 (15:53 -0700) | ||
commit | fdf6be8259fc59fc251b325f66e86df0fe905e79 | |
tree | 8c15c88e07bbed40cc1b1db6fab25bcddda6f9b4 | tree | snapshot |
parent | 72541040c3ed00084344de5bf75cbc5a514504bb | commit | diff |
git-check-attr: Error out if no pathnames are specified
If no pathnames are passed as command-line arguments and the --stdin
option is not specified, fail with the error message "No file
specified". Add tests of this behavior.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
If no pathnames are passed as command-line arguments and the --stdin
option is not specified, fail with the error message "No file
specified". Add tests of this behavior.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/check-attr.c | diff | blob | history | |
t/t0003-attributes.sh | diff | blob | history |