Merge branch 'tr/rev-list-count'

* tr/rev-list-count:
  bash completion: Support "divergence from upstream" messages in __git_ps1
  rev-list: introduce --count option

Conflicts:
	contrib/completion/git-completion.bash
This commit is contained in:
Junio C Hamano
2010-06-30 11:55:38 -07:00
6 changed files with 204 additions and 1 deletions

View File

@ -57,6 +57,7 @@ struct rev_info {
limited:1,
unpacked:1,
boundary:2,
count:1,
left_right:1,
rewrite_parents:1,
print_parents:1,
@ -132,6 +133,10 @@ struct rev_info {
/* notes-specific options: which refs to show */
struct display_notes_opt notes_opt;
/* commit counts */
int count_left;
int count_right;
};
#define REV_TREE_SAME 0