Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'sp/doc-update-index-cacheinfo'
author
Junio C Hamano
<gitster@pobox.com>
Fri, 19 Sep 2014 18:38:39 +0000
(11:38 -0700)
committer
Junio 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
patch
|
blob
|
history
raw
(from parent 1:
56feed1
)
diff --git
a/Documentation/git-update-index.txt
b/Documentation/git-update-index.txt
index dfc09d93d85f5ca598447e98327518082c8e1a16..82eca6fdf6149a270bf85937f91f3e9cc453052d 100644
(file)
--- 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