]> git.ipfire.org Git - thirdparty/git.git/commitdiff
docs: don't mention --quiet or --exit-code in git-log(1)
authorJeff King <peff@peff.net>
Tue, 8 Nov 2011 21:29:30 +0000 (16:29 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 8 Nov 2011 21:37:02 +0000 (13:37 -0800)
These are diff-options, but they don't actually make sense
in the context of log.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/diff-options.txt

index 5c53bdba948ea817e01e169a9fc183d4fc2d1313..66624a17698ac91cfcd6d45d1af6024c4bf066d9 100644 (file)
@@ -409,6 +409,7 @@ endif::git-format-patch[]
        of lines, thereby fusing hunks that are close to each other.
 
 ifndef::git-format-patch[]
+ifndef::git-log[]
 --exit-code::
        Make the program exit with codes similar to diff(1).
        That is, it exits with 1 if there were differences and
@@ -416,6 +417,7 @@ ifndef::git-format-patch[]
 
 --quiet::
        Disable all output of the program. Implies `--exit-code`.
+endif::git-log[]
 endif::git-format-patch[]
 
 --ext-diff::