aboutsummaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-03-13 01:57:22 -0700
committerJunio C Hamano <junkio@cox.net>2007-03-14 16:22:18 -0700
commit0053e902b4f777ba454b62263d3695e5292b1559 (patch)
treeb2157ead5624e27e0c6963ace42ee5ac6ae35f1f /revision.h
parent803527f1d9b284fa848d4a4bad23158c162a5d54 (diff)
downloadgit-0053e902b4f777ba454b62263d3695e5292b1559.tar.gz
git-0053e902b4f777ba454b62263d3695e5292b1559.tar.xz
git-log --first-parent: show only the first parent log
If your development history does not have fast-forward merges, i.e. the "first parent" of commits in your history are special than other parents, this option gives a better overview of the evolution of a particular branch. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'revision.h')
-rw-r--r--revision.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/revision.h b/revision.h
index 6ae39e6be..55e6b531c 100644
--- a/revision.h
+++ b/revision.h
@@ -46,7 +46,8 @@ struct rev_info {
boundary:2,
left_right:1,
parents:1,
- reverse:1;
+ reverse:1,
+ first_parent_only:1;
/* Diff flags */
unsigned int diff:1,