aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-update-index.txt
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-09-19 11:38:39 -0700
committerJunio C Hamano <gitster@pobox.com>2014-09-19 11:38:40 -0700
commit9d6db4a28ddbaf66bbc257251e97e9511a9148fd (patch)
tree7cdb9fdc7c9e62c2b2f73758e1e58a292ede76fa /Documentation/git-update-index.txt
parent56feed1c7641bbf7920efe6607c6a04309073baa (diff)
parent7ac92f64ddb735052993640d26aad4cd7886b183 (diff)
downloadgit-9d6db4a28ddbaf66bbc257251e97e9511a9148fd.tar.gz
Merge branch 'sp/doc-update-index-cacheinfo'
* sp/doc-update-index-cacheinfo: Documentation: use single-parameter --cacheinfo in example
Diffstat (limited to 'Documentation/git-update-index.txt')
-rw-r--r--Documentation/git-update-index.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt
index dfc09d93d8..82eca6fdf6 100644
--- a/Documentation/git-update-index.txt
+++ b/Documentation/git-update-index.txt
@@ -202,7 +202,7 @@ merging.
To pretend you have a file with mode and sha1 at path, say:
----------------
-$ git update-index --cacheinfo mode sha1 path
+$ git update-index --cacheinfo <mode>,<sha1>,<path>
----------------
'--info-only' is used to register files without placing them in the object