Merge branch 'mg/gpg-interface-using-status'
[gitweb.git] / Documentation / pretty-formats.txt
index 443381817a38525f78081a2a4c8cbb57ef0e082c..293965524e81b240996a795498ba127f723d18eb 100644 (file)
@@ -145,7 +145,11 @@ The placeholders are:
 - '%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 in color.branch.* config option;
+  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)
 - '%m': left, right or boundary mark
 - '%n': newline
 - '%%': a raw '%'