summaryrefslogtreecommitdiff
path: root/userdiff.c
diff options
context:
space:
mode:
authorMichael Haggerty <mhagger@alum.mit.edu>2011-08-04 06:36:32 +0200
committerJunio C Hamano <gitster@pobox.com>2011-08-04 15:53:20 -0700
commitca64d061e0ddf7fa1496a15c75eb5e730c4360e0 (patch)
tree4689979dd59781cad786e105c6ae71bf688e6542 /userdiff.c
parentc9d8f0ac3b9029d825c7d1c049953aacbc489e1c (diff)
downloadgit-ca64d061e0ddf7fa1496a15c75eb5e730c4360e0.tar.gz
git-check-attr: Fix command-line handling to match docs
According to the git-check-attr synopsis, if the '--stdin' option is used then no pathnames are expected on the command line. Change the behavior to match this description; namely, if '--stdin' is used but not '--', then treat all command-line arguments as attribute names. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'userdiff.c')
0 files changed, 0 insertions, 0 deletions