path: root/Documentation/git-check-attr.txt
diff options
authorMichael Haggerty <>2011-08-04 04:36:32 (GMT)
committerJunio C Hamano <>2011-08-04 22:53:20 (GMT)
commitca64d061e0ddf7fa1496a15c75eb5e730c4360e0 (patch)
tree4689979dd59781cad786e105c6ae71bf688e6542 /Documentation/git-check-attr.txt
parentc9d8f0ac3b9029d825c7d1c049953aacbc489e1c (diff)
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 <> Signed-off-by: Junio C Hamano <>
Diffstat (limited to 'Documentation/git-check-attr.txt')
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/git-check-attr.txt b/Documentation/git-check-attr.txt
index 798e5d5..1f7312a 100644
--- a/Documentation/git-check-attr.txt
+++ b/Documentation/git-check-attr.txt
@@ -33,8 +33,11 @@ OPTIONS
Interpret all preceding arguments as attributes and all following
- arguments as path names. If not supplied, only the first argument will
- be treated as an attribute.
+ arguments as path names.
+If none of `--stdin`, `--all`, or `--` is used, the first argument
+will be treated as an attribute and the rest of the arguments as