Junio C Hamano
2ce406ccb8
get_merge_bases(): always clean-up object flags
...
The callers of get_merge_bases() can choose to leave object flags
used during the merge-base traversal by passing cleanup=0 as a
parameter, but in practice a very few callers can afford to do so
(namely, "git merge-base"), as they need to compute merge base in
preparation for other processing of their own and they need to see
the object without contaminate flags.
Change the function signature of get_merge_bases_many() and
get_merge_bases() to drop the cleanup parameter, so that the
majority of the callers do not have to say ", 1" at the end.
Give a new get_merge_bases_many_dirty() API to support only a few
callers that know they do not need to spend cycles cleaning up the
object flags.
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2014-10-30 12:51:10 -07:00
..
2014-03-28 13:51:05 -07:00
2014-07-16 11:10:11 -07:00
2014-07-21 10:37:02 -07:00
2013-12-05 14:13:21 -08:00
2013-08-05 11:32:19 -07:00
2014-07-28 10:14:33 -07:00
2014-02-20 14:15:46 -08:00
2014-03-25 11:07:36 -07:00
2014-03-18 14:03:03 -07:00
2013-09-20 12:37:32 -07:00
2013-07-13 10:19:37 -07:00
2013-10-30 12:10:56 -07:00
2014-04-09 12:03:26 -07:00
2014-07-21 10:30:21 -07:00
2014-06-23 14:31:35 -07:00
2013-12-05 14:13:21 -08:00
2014-06-12 10:29:41 -07:00
2014-07-16 11:16:38 -07:00
2014-02-18 16:12:14 -08:00
2013-04-10 13:27:26 -07:00
2014-03-14 14:25:31 -07:00
2013-07-15 10:56:08 -07:00
2013-07-15 10:56:08 -07:00
2014-07-28 10:14:34 -07:00
2013-12-27 14:58:17 -08:00
2014-06-13 12:09:38 -07:00
2014-01-17 12:21:20 -08:00
2014-02-27 14:01:30 -08:00
2014-06-13 12:09:38 -07:00
2014-02-20 14:15:46 -08:00
2014-06-13 12:07:47 -07:00
2014-06-25 11:47:36 -07:00
2013-12-03 12:35:22 -08:00
2014-06-25 11:47:49 -07:00
2013-08-07 08:30:55 -07:00
2014-01-06 11:26:31 -08:00
2014-07-21 10:30:21 -07:00
2014-04-17 11:09:56 -07:00
2014-07-16 11:16:38 -07:00
2014-02-24 14:37:19 -08:00
2014-05-27 14:00:43 -07:00
2014-02-24 14:37:14 -08:00
2014-06-25 11:48:23 -07:00
2013-03-02 22:52:44 -08:00
2014-10-30 12:51:10 -07:00
2013-08-05 11:32:19 -07:00
2013-07-09 09:12:48 -07:00
2013-12-05 14:13:21 -08:00
2013-05-06 22:17:00 -07:00
2014-10-30 12:51:10 -07:00
2014-03-03 14:54:45 -08:00
2014-06-25 11:48:34 -07:00
2014-02-20 14:15:46 -08:00
2014-03-24 10:43:34 -07:00
2014-04-08 12:00:33 -07:00
2012-12-13 11:13:44 -08:00
2013-05-01 15:33:11 -07:00
2014-02-24 09:08:37 -08:00
2014-03-14 14:27:06 -07:00
2014-03-07 15:18:28 -08:00
2013-10-16 10:26:39 -07:00
2014-02-27 12:07:13 -08:00
2014-02-20 14:15:46 -08:00
2014-07-22 10:25:17 -07:00
2014-07-10 11:10:05 -07:00
2014-03-14 14:27:06 -07:00
2014-04-30 10:30:02 -07:00
2014-06-13 12:08:17 -07:00
2014-06-13 12:09:38 -07:00
2014-10-30 12:51:10 -07:00
2014-03-24 10:43:34 -07:00
2014-02-27 14:01:15 -08:00
2014-01-17 12:21:20 -08:00
2013-12-05 14:13:21 -08:00
2014-02-20 14:15:46 -08:00
2013-12-05 14:13:21 -08:00
2013-09-06 13:33:17 -07:00
2013-12-05 14:13:21 -08:00
2014-03-24 10:43:34 -07:00
2014-03-14 14:27:06 -07:00
2014-06-04 11:02:55 -07:00
2014-04-02 10:40:43 -07:00
2012-08-22 10:58:29 -07:00
2013-12-05 14:13:21 -08:00
2012-08-22 10:58:29 -07:00
2013-02-14 09:30:04 -08:00
2012-08-22 10:58:29 -07:00