File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed
Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -268,23 +268,20 @@ USING --INDEX-INFO
268268multiple entry definitions from the standard input, and designed
269269specifically for scripts. It can take inputs of three formats:
270270
271- . mode SP sha1 TAB path
272- +
273- The first format is what "git-apply --index-info"
274- reports, and used to reconstruct a partial tree
275- that is used for phony merge base tree when falling
276- back on 3-way merge.
277-
278271 . mode SP type SP sha1 TAB path
279272+
280- The second format is to stuff 'git ls-tree' output
281- into the index file.
273+ This format is to stuff `git ls-tree` output into the index.
282274
283275 . mode SP sha1 SP stage TAB path
284276+
285277This format is to put higher order stages into the
286278index file and matches 'git ls-files --stage' output.
287279
280+ . mode SP sha1 TAB path
281+ +
282+ This format is no longer produced by any Git command, but is
283+ and will continue to be supported by `update-index --index-info`.
284+
288285To place a higher stage entry to the index, the path should
289286first be removed by feeding a mode=0 entry for the path, and
290287then feeding necessary input lines in the third format.
You can’t perform that action at this time.
0 commit comments