summaryrefslogtreecommitdiff
path: root/Documentation/pretty-formats.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-04-09 09:34:05 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-04-12 03:02:03 (GMT)
commit199c45bf2b168cb8b2231e45f35e5fd588c2fc19 (patch)
treecfd0f892e118e95d978833633c77c5f6606ea83e /Documentation/pretty-formats.txt
parent6aead43db34313e6cdbc72e2f7a70f6b82c78cf2 (diff)
downloadgit-199c45bf2b168cb8b2231e45f35e5fd588c2fc19.zip
git-199c45bf2b168cb8b2231e45f35e5fd588c2fc19.tar.gz
git-199c45bf2b168cb8b2231e45f35e5fd588c2fc19.tar.bz2
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 2fe6c31..d7ffc21 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