Skip to content

Commit

Permalink
Merge branch 'sp/doc-update-index-cacheinfo'
Browse files Browse the repository at this point in the history
* sp/doc-update-index-cacheinfo:
  Documentation: use single-parameter --cacheinfo in example
  • Loading branch information
Junio C Hamano committed Sep 19, 2014
2 parents 56feed1 + 7ac92f6 commit 9d6db4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/git-update-index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d6db4a

Please sign in to comment.