summaryrefslogtreecommitdiffstats
path: root/git-rev-list.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2007-04-06 00:51:43 +0000
committerJunio C Hamano <junio@hera.kernel.org>2007-04-06 00:51:43 +0000
commit5678d690dfb3a08e15be4d4b7545053724543047 (patch)
tree93b0aa7fda944c60d9046bb05a633a4d111e4f14 /git-rev-list.txt
parent20f64da93ef6dd18600ba88b89571564f066949b (diff)
downloadgit-htmldocs-5678d690dfb3a08e15be4d4b7545053724543047.tar.gz
Autogenerated HTML docs for v1.5.1-53-g77e6f
Diffstat (limited to 'git-rev-list.txt')
-rw-r--r--git-rev-list.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/git-rev-list.txt b/git-rev-list.txt
index 3fa45b81c..12b71ed0b 100644
--- a/git-rev-list.txt
+++ b/git-rev-list.txt
@@ -21,6 +21,7 @@ SYNOPSIS
[ \--stdin ]
[ \--topo-order ]
[ \--parents ]
+ [ \--left-right ]
[ \--encoding[=<encoding>] ]
[ \--(author|committer|grep)=<pattern> ]
[ [\--objects | \--objects-edge] [ \--unpacked ] ]
@@ -101,6 +102,36 @@ include::pretty-formats.txt[]
Print the parents of the commit.
+--left-right::
+
+ Mark which side of a symmetric diff a commit is reachable from.
+ Commits from the left side are prefixed with `<` and those from
+ the right with `>`. If combined with `--boundary`, those
+ commits are prefixed with `-`.
++
+For example, if you have this topology:
++
+-----------------------------------------------------------------------
+ y---b---b branch B
+ / \ /
+ / .
+ / / \
+ o---x---a---a branch A
+-----------------------------------------------------------------------
++
+you would get an output line this:
++
+-----------------------------------------------------------------------
+ $ git rev-list --left-right --boundary --pretty=oneline A...B
+
+ >bbbbbbb... 3rd on b
+ >bbbbbbb... 2nd on b
+ <aaaaaaa... 3rd on a
+ <aaaaaaa... 2nd on a
+ -yyyyyyy... 1st on b
+ -xxxxxxx... 1st on a
+-----------------------------------------------------------------------
+
Diff Formatting
~~~~~~~~~~~~~~~