* [PATCH 1/2] ls-tree manpage: use "unless" instead of "when ... is not"
@ 2009-05-10 16:13 Alex Riesen
2009-05-10 16:14 ` [PATCH 2/2] ls-tree manpage: output of ls-tree is compatible with update-index Alex Riesen
0 siblings, 1 reply; 2+ messages in thread
From: Alex Riesen @ 2009-05-10 16:13 UTC (permalink / raw)
To: git; +Cc: Junio C Hamano
Delayed negation in a statement is harder to spot and keep in mind.
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
---
Documentation/git-ls-tree.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-ls-tree.txt b/Documentation/git-ls-tree.txt
index f68e5c5..8292059 100644
--- a/Documentation/git-ls-tree.txt
+++ b/Documentation/git-ls-tree.txt
@@ -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
--
1.6.3.28.ga852b
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] ls-tree manpage: output of ls-tree is compatible with update-index
2009-05-10 16:13 [PATCH 1/2] ls-tree manpage: use "unless" instead of "when ... is not" Alex Riesen
@ 2009-05-10 16:14 ` Alex Riesen
0 siblings, 0 replies; 2+ messages in thread
From: Alex Riesen @ 2009-05-10 16:14 UTC (permalink / raw)
To: git; +Cc: Junio C Hamano
Such format relationships are very useful things to remember for
script writers.
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
---
Documentation/git-ls-tree.txt | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-ls-tree.txt b/Documentation/git-ls-tree.txt
index 8292059..c3fdccb 100644
--- a/Documentation/git-ls-tree.txt
+++ b/Documentation/git-ls-tree.txt
@@ -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
--
1.6.3.28.ga852b
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-10 16:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-10 16:13 [PATCH 1/2] ls-tree manpage: use "unless" instead of "when ... is not" Alex Riesen
2009-05-10 16:14 ` [PATCH 2/2] ls-tree manpage: output of ls-tree is compatible with update-index Alex Riesen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).