Skip to content

Commit

Permalink
Merge branch 'jc/color-diff-doc' into maint-1.8.1
Browse files Browse the repository at this point in the history
The "--color=<when>" argument to the commands in the diff family
was described poorly.

* jc/color-diff-doc:
  diff-options: unconfuse description of --color
  • Loading branch information
Junio C Hamano committed Mar 25, 2013
2 parents 617cf93 + 3d0e75f commit 82b955c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Documentation/diff-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ any of those replacements occurred.

--color[=<when>]::
Show colored diff.
The value must be `always` (the default for `<when>`), `never`, or `auto`.
The default value is `never`.
`--color` (i.e. without '=<when>') is the same as `--color=always`.
'<when>' can be one of `always`, `never`, or `auto`.
ifdef::git-diff[]
It can be changed by the `color.ui` and `color.diff`
configuration settings.
Expand Down

0 comments on commit 82b955c

Please sign in to comment.