Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
pretty: fix document link for color specification
author
René Scharfe
<l.s.r@web.de>
Tue, 11 Oct 2016 03:41:14 +0000
(
05:41
+0200)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 11 Oct 2016 17:07:09 +0000
(10:07 -0700)
Helped-by: Jeff King <peff@peff.net>
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Reviewed-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/pretty-formats.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
0b65a8d
)
diff --git
a/Documentation/pretty-formats.txt
b/Documentation/pretty-formats.txt
index 29b19b992f2e652d6fc9258cbd64cad51f86c2ef..867b159e8f456f05c878535c951504068a7a9a19 100644
(file)
--- a/
Documentation/pretty-formats.txt
+++ b/
Documentation/pretty-formats.txt
@@
-160,7
+160,8
@@
endif::git-rev-list[]
- '%Cgreen': switch color to green
- '%Cblue': switch color to blue
- '%Creset': reset color
- '%Cgreen': switch color to green
- '%Cblue': switch color to blue
- '%Creset': reset color
-- '%C(...)': color specification, as described in color.branch.* config option;
+- '%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
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