summaryrefslogtreecommitdiff
path: root/Documentation/git-check-attr.txt
diff options
context:
space:
mode:
authorDmitry Potapov <dpotapov@gmail.com>2008-10-07 00:16:52 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2008-10-12 20:21:59 (GMT)
commitb4666852a06af0c969ad8f1c444d0b48c4451e76 (patch)
tree8bf6bc3580c3e03d3277828bdf47a2f1fc7770be /Documentation/git-check-attr.txt
parent41038c5e1534a6abef21ec4cfc216d13d0ac2fb5 (diff)
downloadgit-b4666852a06af0c969ad8f1c444d0b48c4451e76.zip
git-b4666852a06af0c969ad8f1c444d0b48c4451e76.tar.gz
git-b4666852a06af0c969ad8f1c444d0b48c4451e76.tar.bz2
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/git-check-attr.txt')
-rw-r--r--Documentation/git-check-attr.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/git-check-attr.txt b/Documentation/git-check-attr.txt
index 2b821f2..14e4374 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