Matthieu Moy
251df09be3
log: fix --max-count when used together with -S or -G
...
The --max-count limit is implemented by counting revisions in
get_revision(), but the -S and -G take effect later when running diff.
Hence "--max-count=10 -Sfoo" meant "examine the 10 first revisions, and
out of them, show only those changing the occurences of foo", not "show 10
revisions changing the occurences of foo".
In case the commit isn't actually shown, cancel the decrement of
max_count.
Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-03-09 14:28:24 -08:00
..
2007-07-02 21:05:45 -07:00
2006-07-01 22:02:17 -07:00
2011-02-07 15:04:30 -08:00
2011-02-07 15:04:30 -08:00
2009-02-20 00:02:48 -08:00
2008-05-24 00:16:39 -07:00
2009-01-06 23:18:20 -08:00
2008-05-24 00:16:39 -07:00
2009-02-18 10:55:33 -08:00
2006-07-01 22:02:17 -07:00
2006-07-01 22:02:17 -07:00
2006-07-01 22:02:17 -07:00
2006-07-01 22:02:17 -07:00
2006-07-01 22:02:17 -07:00
2006-07-01 22:02:17 -07:00
2006-07-01 22:02:17 -07:00
2006-07-01 22:02:17 -07:00
2008-10-12 12:36:19 -07:00
2006-07-13 21:40:43 -07:00
2006-06-26 23:29:11 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-06-26 23:29:11 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-29 12:07:27 -07:00
2006-10-05 15:10:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-27 15:36:19 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-06-26 23:29:11 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2009-03-22 21:45:19 -07:00
2009-03-22 21:45:19 -07:00
2009-03-22 21:45:19 -07:00
2009-03-22 21:45:19 -07:00
2009-03-22 21:46:02 -07:00
2009-03-22 21:45:19 -07:00
2009-03-22 21:45:19 -07:00
2009-03-22 21:45:19 -07:00
2009-03-22 21:45:19 -07:00
2009-03-22 21:45:19 -07:00
2010-06-16 10:08:59 -07:00
2008-10-18 07:18:03 -07:00
2008-10-18 07:18:03 -07:00
2008-10-18 07:18:03 -07:00
2008-10-18 07:18:03 -07:00
2007-01-17 23:48:20 -08:00
2009-10-12 16:22:35 -07:00
2009-10-12 16:22:35 -07:00
2009-02-13 17:18:22 -08:00
2009-02-13 17:18:22 -08:00
2009-02-13 17:18:22 -08:00
2009-02-13 17:18:22 -08:00
2009-02-13 17:18:22 -08:00
2009-02-13 17:18:22 -08:00
2009-02-13 17:18:22 -08:00
2009-02-13 17:18:22 -08:00
2009-02-13 17:18:22 -08:00
2010-08-31 14:30:29 -07:00
2010-08-31 14:30:29 -07:00
2010-08-31 14:30:29 -07:00
2010-03-09 01:11:18 -08:00
2010-03-09 01:11:18 -08:00
2010-03-09 01:11:18 -08:00
2009-02-13 17:18:22 -08:00
2010-08-06 09:14:22 -07:00
2006-07-13 21:40:43 -07:00
2007-10-15 20:24:27 -04:00
2011-03-09 14:28:24 -08:00
2011-03-09 14:28:24 -08:00
2011-03-09 14:28:24 -08:00
2009-02-13 17:18:22 -08:00
2009-02-20 00:02:48 -08:00
2009-02-20 00:02:48 -08:00
2010-03-09 01:11:19 -08:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2006-06-26 14:36:40 -07:00
2010-03-09 01:11:18 -08:00
2010-03-09 01:11:19 -08:00
2006-06-26 14:36:40 -07:00
2009-02-13 17:18:22 -08:00
2006-06-26 14:36:40 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2009-02-13 17:18:22 -08:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2009-02-13 17:18:22 -08:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00
2006-07-13 21:40:43 -07:00