Skip to content

Commit 939ca96

Browse files
peffgitster
authored andcommitted
docs: don't mention --quiet or --exit-code in git-log(1)
These are diff-options, but they don't actually make sense in the context of log. Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8d19b44 commit 939ca96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Documentation/diff-options.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,13 +409,15 @@ endif::git-format-patch[]
409409
of lines, thereby fusing hunks that are close to each other.
410410

411411
ifndef::git-format-patch[]
412+
ifndef::git-log[]
412413
--exit-code::
413414
Make the program exit with codes similar to diff(1).
414415
That is, it exits with 1 if there were differences and
415416
0 means no differences.
416417

417418
--quiet::
418419
Disable all output of the program. Implies `--exit-code`.
420+
endif::git-log[]
419421
endif::git-format-patch[]
420422

421423
--ext-diff::

0 commit comments

Comments
 (0)