提交 1f7f99de 编写于 作者: J Junio C Hamano

update-index: document --stdin and -z

Signed-off-by: NJunio C Hamano <junkio@cox.net>
上级 ee1bec3d
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.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册