Code

Make left-right automatic.
authorJunio C Hamano <junkio@cox.net>
Sun, 17 Dec 2006 00:07:20 +0000 (16:07 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 17 Dec 2006 18:35:28 +0000 (10:35 -0800)
commit5761231975ceffa531d86d9bab0f9a9a370674f6
tree86dcbeaf5543b7ee370fe8289f3647902be33859
parent74bd9029732db28b2fff50de0a190229c6033e02
Make left-right automatic.

When using symmetric differences, I think the user almost always
would want to know which side of the symmetry each commit came
from.  So this removes --left-right option from the command
line, and turns it on automatically when a symmetric difference
is used ("git log --merge" counts as a symmetric difference
between HEAD and MERGE_HEAD).

Just in case, a new option --no-left-right is provided to defeat
this, but I do not know if it would be useful.

Signed-off-by: Junio C Hamano <junkio@cox.net>
revision.c
revision.h