X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=Documentation%2Fgit-update-index.txt;h=58b9e49af5f269f59b6e884430322cfca8673c75;hb=58e60dd203362ecb9fdea765dcc2eb573892dbaf;hp=8b50efa4e6a4017edecacc1ed1c5f664c7c235fd;hpb=5773c9f2b28c3af92b7e9c6832536e99ab11cc78;p=git.git diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt index 8b50efa4..58b9e49a 100644 --- a/Documentation/git-update-index.txt +++ b/Documentation/git-update-index.txt @@ -9,15 +9,13 @@ git-update-index - Modifies the index or directory cache SYNOPSIS -------- 'git-update-index' - [--add] [--remove] [--unmerged] [--refresh] [--replace] + [--add] [--remove | --force-remove] [--replace] + [--refresh [-q] [--unmerged] [--ignore-missing]] [--cacheinfo ]\* [--chmod=(+|-)x] - [--info-only] - [--force-remove] - [--stdin] - [--index-info] - [--ignore-missing] - [-z] + [--info-only] [--index-info] + [-z] [--stdin] + [--verbose] [--] []\* DESCRIPTION @@ -45,12 +43,28 @@ OPTIONS Looks at the current cache and checks to see if merges or updates are needed by checking stat() information. +-q:: + Quiet. If --refresh finds that the cache needs an update, the + default behavior is to error out. This option makes + git-update-index continue anyway. + +--unmerged:: + If --refresh finds unmerged changes in the cache, the default + behavior is to error out. This option makes git-update-index + continue anyway. + --ignore-missing:: Ignores missing files during a --refresh --cacheinfo :: Directly insert the specified info into the cache. +--index-info:: + Read index info from stdin. + +--chmod=(+|-)x:: + Set the execute permissions on the updated files. + --info-only:: Do not create objects in the object database for all arguments that follow this flag; just insert @@ -73,6 +87,9 @@ OPTIONS read list of paths from the standard input. Paths are separated by LF (i.e. one path per line) by default. +--verbose:: + Report what is being added and removed from index. + -z:: Only meaningful with `--stdin`; paths are separated with NUL character instead of LF.