bash completion: Support "divergence from upstream" messages in __git_ps1
[gitweb.git] / revision.c
index f4b8b383153b2330be1729fa29488bab1848e019..21b133c89bd481b2ac1fa5076c637336b8f57eb1 100644 (file)
@@ -1146,6 +1146,8 @@ static int handle_revision_opt(struct rev_info *revs, int argc, const char **arg
                revs->boundary = 1;
        } else if (!strcmp(arg, "--left-right")) {
                revs->left_right = 1;
+       } else if (!strcmp(arg, "--count")) {
+               revs->count = 1;
        } else if (!strcmp(arg, "--cherry-pick")) {
                revs->cherry_pick = 1;
                revs->limited = 1;