Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-09-27 05:13:32 +0400
committerJunio C Hamano <junkio@cox.net>2005-09-28 03:59:45 +0400
commit1f7f99de841f533b99b80420bbaf44a808ea5b84 (patch)
tree1d2706677f4b458e020b428670067cb9f7a2139c /Documentation/git-update-index.txt
parentee1bec3d1001ce3d84b72be4a72694c1aef37980 (diff)
update-index: document --stdin and -z
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/git-update-index.txt')
-rw-r--r--Documentation/git-update-index.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt
index 8d55659ede..0d9847c528 100644
--- a/Documentation/git-update-index.txt
+++ b/Documentation/git-update-index.txt
@@ -1,6 +1,5 @@
git-update-index(1)
===================
-v0.1, May 2005
NAME
----
@@ -15,6 +14,7 @@ SYNOPSIS
[--force-remove]
[--cacheinfo <mode> <object> <file>]\*
[--info-only]
+ [-z] [--stdin]
[--] [<file>]\*
DESCRIPTION
@@ -65,6 +65,15 @@ OPTIONS
that conflicts with the entry being added are
automatically removed with warning messages.
+--stdin::
+ Instead of taking list of paths from the command line,
+ read list of paths from the standard input. Paths are
+ separated by LF (i.e. one path per line) by default.
+
+-z::
+ Only meaningful with `--stdin`; paths are separated with
+ NUL character instead of LF.
+
--::
Do not interpret any more arguments as options.