Skip to content

Commit

Permalink
update-index: document --stdin and -z
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Sep 27, 2005
1 parent ee1bec3 commit 1f7f99d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Documentation/git-update-index.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
git-update-index(1)
===================
v0.1, May 2005

NAME
----
Expand All @@ -15,6 +14,7 @@ SYNOPSIS
[--force-remove]
[--cacheinfo <mode> <object> <file>]\*
[--info-only]
[-z] [--stdin]
[--] [<file>]\*

DESCRIPTION
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit 1f7f99d

Please sign in to comment.