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

1 messages from 2008-08-11 to 2008-08-11. Participants: Junio C Hamano.
Thread: https://gitlist.dev/t/14937

## Junio C Hamano, 2008-08-11 18:46

Subject: [PATCH] Do not talk about "diff" in rev-list documentation.
Message-ID: <7vsktbxucf.fsf@gitster.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vsktbxucf.fsf%40gitster.siamese.dyndns.org

```
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(-)

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
 ~~~~~~~~~~~~~~~

```
