summaryrefslogtreecommitdiff
path: root/Documentation/pretty-formats.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-04-09 02:34:05 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2007-04-11 20:02:03 -0700
commit199c45bf2b168cb8b2231e45f35e5fd588c2fc19 (patch)
treecfd0f892e118e95d978833633c77c5f6606ea83e /Documentation/pretty-formats.txt
parentsscanf/strtoul: parse integers robustly (diff)
downloadtgif-199c45bf2b168cb8b2231e45f35e5fd588c2fc19.tar.xz
Add %m to '--pretty=format:'
When used with '--boundary A...B', this shows the -/</> marker you would get with --left-right option to 'git-log' family. When symmetric diff is not used, everybody is shown to be on the "right" branch. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/pretty-formats.txt')
-rw-r--r--Documentation/pretty-formats.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/pretty-formats.txt b/Documentation/pretty-formats.txt
index 2fe6c31967..d7ffc21ddf 100644
--- a/Documentation/pretty-formats.txt
+++ b/Documentation/pretty-formats.txt
@@ -117,6 +117,7 @@ The placeholders are:
- '%Cgreen': switch color to green
- '%Cblue': switch color to blue
- '%Creset': reset color
+- '%m': left, right or boundary mark
- '%n': newline