Skip to content

Commit

Permalink
docs: don't mention --quiet or --exit-code in git-log(1)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff King authored and Junio C Hamano committed Nov 8, 2011
1 parent 8d19b44 commit 939ca96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Documentation/diff-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -409,13 +409,15 @@ 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
0 means no differences.

--quiet::
Disable all output of the program. Implies `--exit-code`.
endif::git-log[]
endif::git-format-patch[]

--ext-diff::
Expand Down

0 comments on commit 939ca96

Please sign in to comment.