threads / patch / 14937

patchDo not talk about "diff" in rev-list documentation.

Subject: [PATCH] Do not talk about "diff" in rev-list documentation.

## tl;dr

One message between Aug 11, 2008 and Aug 11, 2008. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Junio C Hamano· Aug 11, 2008, 18:46 UTC · lore

Since 8c02eee (git-rev-list(1): group options; reformat; document more options, 2006-09-01), git-rev-list documentation talks as if it supports any kind of diff output. It doesn't.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 Documentation/rev-list-options.txt |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Show changes to Documentation/rev-list-options.txt +2 −0
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt
index 3aa3809..3d54b94 100644
--- a/Documentation/rev-list-options.txt
+++ b/Documentation/rev-list-options.txt
@@ -94,6 +94,7 @@ you would get an output line this:
 This implies the '--topo-order' option by default, but the
 '--date-order' option may also be specified.
 
+ifndef::git-rev-list[]
 Diff Formatting
 ~~~~~~~~~~~~~~~
 
@@ -123,6 +124,7 @@ options may be given. See linkgit:git-diff-files[1] for more options.
 -t::
 
 	Show the tree objects in the diff output. This implies '-r'.
+endif::git-rev-list[]
 
 Commit Limiting
 ~~~~~~~~~~~~~~~

← back to recent threads