aboutsummaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-12-16 16:07:20 -0800
committerJunio C Hamano <junkio@cox.net>2006-12-17 10:35:28 -0800
commit5761231975ceffa531d86d9bab0f9a9a370674f6 (patch)
tree86dcbeaf5543b7ee370fe8289f3647902be33859 /revision.h
parent74bd9029732db28b2fff50de0a190229c6033e02 (diff)
downloadgit-5761231975ceffa531d86d9bab0f9a9a370674f6.tar.gz
git-5761231975ceffa531d86d9bab0f9a9a370674f6.tar.xz
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>
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/revision.h b/revision.h
index 4585463a4..b2ab81488 100644
--- a/revision.h
+++ b/revision.h
@@ -41,6 +41,7 @@ struct rev_info {
limited:1,
unpacked:1, /* see also ignore_packed below */
boundary:1,
+ no_left_right:1,
left_right:1,
parents:1;