]> asedeno.scripts.mit.edu Git - git.git/blobdiff - Documentation/diff-options.txt
Merge branch 'em/checkout-orphan'
[git.git] / Documentation / diff-options.txt
index a1191d647bfb4685701e47de794bf14964de0088..4a968591cb5cb5571f14733b7de1f15f3509f32c 100644 (file)
@@ -21,6 +21,7 @@ endif::git-format-patch[]
 ifndef::git-format-patch[]
 -p::
 -u::
+--patch::
        Generate patch (see section on generating patches).
        {git-diff? This is the default.}
 endif::git-format-patch[]
@@ -117,12 +118,14 @@ any of those replacements occurred.
        option and lists the commits in that commit range like the 'summary'
        option of linkgit:git-submodule[1] does.
 
---color::
+--color[=<when>]::
        Show colored diff.
+       The value must be always (the default), never, or auto.
 
 --no-color::
        Turn off colored diff, even when the configuration file
        gives the default to color output.
+       Same as `--color=never`.
 
 --color-words[=<regex>]::
        Show colored word diff, i.e., color words which have changed.