diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-06-30 14:49:53 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-30 14:49:53 -0700 |
commit | 967cda7cb7d2494c0cff6ebf0ad40fde587fb892 (patch) | |
tree | 53a75ad7da700bc405f2c40931a58f9fd39c6086 /pretty-formats.txt | |
parent | 535c65caafa13821295c3b060a5acd98bd2557b7 (diff) | |
download | git-htmldocs-967cda7cb7d2494c0cff6ebf0ad40fde587fb892.tar.gz |
Autogenerated HTML docs for v2.13.2-556-g5116f
Diffstat (limited to 'pretty-formats.txt')
-rw-r--r-- | pretty-formats.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pretty-formats.txt b/pretty-formats.txt index a48d267e2..4d6dac577 100644 --- a/pretty-formats.txt +++ b/pretty-formats.txt @@ -174,11 +174,12 @@ endif::git-rev-list[] - '%Creset': reset color - '%C(...)': color specification, as described under Values in the "CONFIGURATION FILE" section of linkgit:git-config[1]; - adding `auto,` at the beginning will emit color only when colors are - enabled for log output (by `color.diff`, `color.ui`, or `--color`, and - respecting the `auto` settings of the former if we are going to a - terminal). `auto` alone (i.e. `%C(auto)`) will turn on auto coloring - on the next placeholders until the color is switched again. + adding `auto,` at the beginning (e.g. `%C(auto,red)`) will emit + color only when colors are enabled for log output (by `color.diff`, + `color.ui`, or `--color`, and respecting the `auto` settings of the + former if we are going to a terminal). `auto` alone (i.e. + `%C(auto)`) will turn on auto coloring on the next placeholders + until the color is switched again. - '%m': left (`<`), right (`>`) or boundary (`-`) mark - '%n': newline - '%%': a raw '%' |