From: Junio C Hamano Date: Tue, 27 Sep 2005 01:13:32 +0000 (-0700) Subject: update-index: document --stdin and -z X-Git-Tag: v0.99.8~40 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1f7f99de841f533b99b80420bbaf44a808ea5b84;p=git.git update-index: document --stdin and -z Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt index 8d55659ed..0d9847c52 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 ]\* [--info-only] + [-z] [--stdin] [--] []\* 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.