Code

Merge branch 'ew/keepalive' into maint
[git.git] / Documentation / diff-options.txt
index 08b581f040859d39aeaad8294bc7a3e7760ab0b9..9f7cba2be6a97cb85072d22b3317d37d1afe80bf 100644 (file)
@@ -413,6 +413,7 @@ endif::git-format-patch[]
        Show whole surrounding functions of changes.
 
 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
@@ -420,6 +421,7 @@ ifndef::git-format-patch[]
 
 --quiet::
        Disable all output of the program. Implies `--exit-code`.
+endif::git-log[]
 endif::git-format-patch[]
 
 --ext-diff::