summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-09-19 18:38:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-09-19 18:38:40 (GMT)
commit9d6db4a28ddbaf66bbc257251e97e9511a9148fd (patch)
tree7cdb9fdc7c9e62c2b2f73758e1e58a292ede76fa /Documentation
parent56feed1c7641bbf7920efe6607c6a04309073baa (diff)
parent7ac92f64ddb735052993640d26aad4cd7886b183 (diff)
downloadgit-9d6db4a28ddbaf66bbc257251e97e9511a9148fd.zip
git-9d6db4a28ddbaf66bbc257251e97e9511a9148fd.tar.gz
git-9d6db4a28ddbaf66bbc257251e97e9511a9148fd.tar.bz2
Merge branch 'sp/doc-update-index-cacheinfo'
* sp/doc-update-index-cacheinfo: Documentation: use single-parameter --cacheinfo in example
Diffstat (limited to 'Documentation')
-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 dfc09d9..82eca6f 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