X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=Documentation%2Fgit-update-index.txt;h=6fa1d980f6144a51b7adc865baa6b1dbf5e753d0;hb=ab1630a3ed31d6ec5ae83769c78ed542fe3c4a28;hp=54b5f24c1702cbe0aacdec075d396938162669fd;hpb=215a7ad1ef790467a4cd3f0dcffbd6e5f04c38f7;p=git.git diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt index 54b5f24c..6fa1d980 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. @@ -92,7 +101,7 @@ Using --cacheinfo or --info-only current working directory. This is useful for minimum-checkout merging. - To pretend you have a file with mode and sha1 at path, say: +To pretend you have a file with mode and sha1 at path, say: $ git-update-index --cacheinfo mode sha1 path @@ -122,5 +131,5 @@ Documentation by David Greaves, Junio C Hamano and the git-list