diff options
author | Junio C Hamano <junkio@cox.net> | 2006-12-16 15:31:25 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-17 10:35:28 -0800 |
commit | 74bd9029732db28b2fff50de0a190229c6033e02 (patch) | |
tree | 136b4527d1126149a7f05576a0d957d28fd79ac5 /revision.c | |
parent | 577ed5c20b4ca374626c104f90c88550cf415067 (diff) | |
download | git-74bd9029732db28b2fff50de0a190229c6033e02.tar.gz |
Teach all of log family --left-right output.
This makes reviewing
git log --left-right --merge --no-merges -p
a lot more pleasant.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'revision.c')
-rw-r--r-- | revision.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/revision.c b/revision.c index 3d989c3edf..d84f46e5a6 100644 --- a/revision.c +++ b/revision.c @@ -853,6 +853,10 @@ int setup_revisions(int argc, const char **argv, struct rev_info *revs, const ch revs->boundary = 1; continue; } + if (!strcmp(arg, "--left-right")) { + revs->left_right = 1; + continue; + } if (!strcmp(arg, "--objects")) { revs->tag_objects = 1; revs->tree_objects = 1; |