ls-tree manpage: use "unless" instead of "when ... is not"
PATCH 1/2 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 <[email protected]>
--- Documentation/git-ls-tree.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/git-ls-tree.txt +1 -1
@@ -82,7 +82,7 @@ Output Format ------------- <mode> SP <type> SP <object> TAB <file> -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
Signature · 1 line
1.6.3.28.ga852b
PATCH 2/2 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]>
--- Documentation/git-ls-tree.txt | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
Documentation/git-ls-tree.txt +2 -0
@@ -84,6 +84,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
Signature · 1 line
1.6.3.28.ga852b