Merge branch 'sp/doc-update-index-cacheinfo'

* sp/doc-update-index-cacheinfo:
  Documentation: use single-parameter --cacheinfo in example
This commit is contained in:
Junio C Hamano 2014-09-19 11:38:39 -07:00
commit 9d6db4a28d

View 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