From 713697b34f1a1f716df97e331fd82782338c2083 Mon Sep 17 00:00:00 2001 From: Alex Riesen Date: Sun, 10 May 2009 18:13:45 +0200 Subject: ls-tree manpage: use "unless" instead of "when ... is not" Delayed negation in a statement is harder to spot and keep in mind. Signed-off-by: Alex Riesen Signed-off-by: Junio C Hamano --- Documentation/git-ls-tree.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/git-ls-tree.txt b/Documentation/git-ls-tree.txt index 4c7262f1cd..69c7dee1b9 100644 --- a/Documentation/git-ls-tree.txt +++ b/Documentation/git-ls-tree.txt @@ -76,7 +76,7 @@ Output Format ------------- SP SP TAB -When the `-z` option is not used, TAB, LF, and backslash characters +Unless the `-z` option is used, TAB, LF, and backslash characters in pathnames are represented as `\t`, `\n`, and `\\`, respectively. When the `-l` option is used, format changes to -- cgit v1.2.3 From c98a95eea825ffe66ed690064c80733656506c66 Mon Sep 17 00:00:00 2001 From: Alex Riesen Date: Sun, 10 May 2009 18:14:49 +0200 Subject: 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 69c7dee1b9..3f87d7266b 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 -- cgit v1.2.3