Skip to content

Commit

Permalink
ls-tree manpage: output of ls-tree is compatible with update-index
Browse files Browse the repository at this point in the history
Such format relationships are very useful things to remember for
script writers.

Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Alex Riesen authored and Junio C Hamano committed May 10, 2009
1 parent 713697b commit c98a95e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Documentation/git-ls-tree.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ Output Format

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

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

Expand Down

0 comments on commit c98a95e

Please sign in to comment.