max-count in terms of intersection
authorLuben Tuikov <ltuikov@yahoo.com>
Fri, 18 Nov 2005 21:29:04 +0000 (16:29 -0500)
committerJunio C Hamano <junkio@cox.net>
Tue, 22 Nov 2005 05:50:00 +0000 (21:50 -0800)
commit07f92477227e2a1770dfbb6318caedc4f091f6c1
treebe9697305c8bb150d09af79b190b4c1d8ea4eb17
parentc3df8568424684bbcc7df7722eb3ec34bdae8b2d
max-count in terms of intersection

When a path designation is given, max-count counts the number
of commits therein (intersection), not globally.

This avoids the case where in case path has been inactive
for the last N commits, --max-count=N and path designation
at git-rev-list is given, would give no commits.

Signed-off-by: Luben Tuikov <ltuikov@yahoo.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
rev-list.c