1
0
mirror of https://github.com/git/git.git synced 2024-11-15 16:03:16 +01:00

update-index: document --stdin and -z

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano 2005-09-26 18:13:32 -07:00
parent ee1bec3d10
commit 1f7f99de84

@ -1,6 +1,5 @@
git-update-index(1) git-update-index(1)
=================== ===================
v0.1, May 2005
NAME NAME
---- ----
@ -15,6 +14,7 @@ SYNOPSIS
[--force-remove] [--force-remove]
[--cacheinfo <mode> <object> <file>]\* [--cacheinfo <mode> <object> <file>]\*
[--info-only] [--info-only]
[-z] [--stdin]
[--] [<file>]\* [--] [<file>]\*
DESCRIPTION DESCRIPTION
@ -65,6 +65,15 @@ OPTIONS
that conflicts with the entry being added are that conflicts with the entry being added are
automatically removed with warning messages. 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. Do not interpret any more arguments as options.