diff options
author | Dmitry Potapov <dpotapov@gmail.com> | 2008-10-07 04:16:52 +0400 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2008-10-12 13:21:59 -0700 |
commit | b4666852a06af0c969ad8f1c444d0b48c4451e76 (patch) | |
tree | 8bf6bc3580c3e03d3277828bdf47a2f1fc7770be /Documentation | |
parent | 41038c5e1534a6abef21ec4cfc216d13d0ac2fb5 (diff) | |
download | git-b4666852a06af0c969ad8f1c444d0b48c4451e76.tar.gz git-b4666852a06af0c969ad8f1c444d0b48c4451e76.tar.xz |
check-attr: Add --stdin option
This allows multiple paths to be specified on stdin.
Signed-off-by: Dmitry Potapov <dpotapov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/git-check-attr.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/git-check-attr.txt b/Documentation/git-check-attr.txt index 2b821f2a1..14e437436 100644 --- a/Documentation/git-check-attr.txt +++ b/Documentation/git-check-attr.txt @@ -9,6 +9,7 @@ git-check-attr - Display gitattributes information. SYNOPSIS -------- 'git check-attr' attr... [--] pathname... +'git check-attr' --stdin [-z] attr... < <list-of-paths DESCRIPTION ----------- @@ -17,6 +18,13 @@ For every pathname, this command will list if each attr is 'unspecified', OPTIONS ------- +--stdin:: + Read file names from stdin instead of from the command-line. + +-z:: + Only meaningful with `--stdin`; paths are separated with + NUL character instead of LF. + \--:: Interpret all preceding arguments as attributes, and all following arguments as path names. If not supplied, only the first argument will |