Skip to content

Commit c98a95e

Browse files
raalkmlgitster
authored andcommitted
ls-tree manpage: output of ls-tree is compatible with update-index
Such format relationships are very useful things to remember for script writers. Signed-off-by: Alex Riesen <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 713697b commit c98a95e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Documentation/git-ls-tree.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ Output Format
7878

7979
Unless the `-z` option is used, TAB, LF, and backslash characters
8080
in pathnames are represented as `\t`, `\n`, and `\\`, respectively.
81+
This output format is compatible with what '--index-info --stdin' of
82+
'git update-index' expects.
8183

8284
When the `-l` option is used, format changes to
8385

0 commit comments

Comments
 (0)