Merge branch 'sp/doc-update-index-cacheinfo'
authorJunio C Hamano <gitster@pobox.com>
Fri, 19 Sep 2014 18:38:39 +0000 (11:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Sep 2014 18:38:40 +0000 (11:38 -0700)
* sp/doc-update-index-cacheinfo:
Documentation: use single-parameter --cacheinfo in example

Documentation/git-update-index.txt
index dfc09d93d85f5ca598447e98327518082c8e1a16..82eca6fdf6149a270bf85937f91f3e9cc453052d 100644 (file)
@@ -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