summaryrefslogtreecommitdiff
path: root/revision.h
diff options
context:
space:
mode:
authorMichael J Gruber <git@drmicha.warpmail.net>2011-04-26 10:24:29 +0200
committerJunio C Hamano <gitster@pobox.com>2011-04-26 13:13:20 -0700
commitb388e14b89f0a82b8067b3922a93cf2d1b013ff0 (patch)
treede39c28c8604f4c03270d50a1c3dcf49ec9cf196 /revision.h
parentec014eac0e9e6f30cbbca616090fa2ecf74797e7 (diff)
downloadgit-b388e14b89f0a82b8067b3922a93cf2d1b013ff0.tar.gz
rev-list --count: separate count for --cherry-mark
When --count is used with --cherry-mark, omit the patch equivalent commits from the count for left and right commits and print the count of equivalent commits separately. Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
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 9fd8f3016f..bca9947977 100644
--- a/revision.h
+++ b/revision.h
@@ -141,6 +141,7 @@ struct rev_info {
/* commit counts */
int count_left;
int count_right;
+ int count_same;
};
#define REV_TREE_SAME 0