From c98a95eea825ffe66ed690064c80733656506c66 Mon Sep 17 00:00:00 2001 From: Alex Riesen Date: Sun, 10 May 2009 18:14:49 +0200 Subject: [PATCH] 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 Signed-off-by: Junio C Hamano --- Documentation/git-ls-tree.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/git-ls-tree.txt b/Documentation/git-ls-tree.txt index 69c7dee1b..3f87d7266 100644 --- a/Documentation/git-ls-tree.txt +++ b/Documentation/git-ls-tree.txt @@ -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 -- 2.30.2