update-index: document --stdin and -z
Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Sep 26, 2005 at 18:13 UTC
1f7f99de841f533b99b80420bbaf44a808ea5b84
1 file changed
+10
-1
Documentation/git-update-index.txt
+10
-1
@@ -1,6 +1,5 @@
1
git-update-index(1)
2
===================
3
-v0.1, May 2005
3
4
NAME
5
----
@@ -15,6 +14,7 @@ SYNOPSIS
14
[--force-remove]
15
[--cacheinfo <mode> <object> <file>]\*
16
[--info-only]
17
+ [-z] [--stdin]
18
[--] [<file>]\*
19
20
DESCRIPTION
@@ -65,6 +65,15 @@ OPTIONS
65
that conflicts with the entry being added are
66
automatically removed with warning messages.
67
68
+--stdin::
69
+ Instead of taking list of paths from the command line,
70
+ read list of paths from the standard input. Paths are
71
+ separated by LF (i.e. one path per line) by default.
72
+
73
+-z::
74
+ Only meaningful with `--stdin`; paths are separated with
75
+ NUL character instead of LF.
76
+
77
--::
78
Do not interpret any more arguments as options.
79