Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'en/update-index-doc'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 20 Aug 2018 18:33:50 +0000
(11:33 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 20 Aug 2018 18:33:50 +0000
(11:33 -0700)
Doc update.
* en/update-index-doc:
git-update-index.txt: reword possibly confusing example
Documentation/git-update-index.txt
patch
|
blob
|
history
raw
(from parent 1:
13bf260
)
diff --git
a/Documentation/git-update-index.txt
b/Documentation/git-update-index.txt
index 4e8e762e68690cab880460fbe1fef0077c8351e2..a9753e655714313bc0d1f03fec43c8be65adac5d 100644
(file)
--- a/
Documentation/git-update-index.txt
+++ b/
Documentation/git-update-index.txt
@@
-245,10
+245,10
@@
USING --CACHEINFO OR --INFO-ONLY
current working directory. This is useful for minimum-checkout
merging.
-To pretend you have a file
with mode and sha1 at path
, say:
+To pretend you have a file
at path with mode and sha1
, say:
----------------
-$ git update-index --cacheinfo <mode>,<sha1>,<path>
+$ git update-index --
add --
cacheinfo <mode>,<sha1>,<path>
----------------
`--info-only` is used to register files without placing them in the object