Ævar Arnfjörð Bjarmason
cd8eb3a094
gc: refactor a "call me once" pattern
...
Change an idiom we're using to ensure that gc_before_repack() only
does work once (see 62aad1849f
("gc --auto: do not lock refs in the
background", 2014-05-25)) to be more obvious.
Nothing except this function cares about the "pack_refs" and
"prune_reflogs" variables, so let's not leave the reader wondering if
they're being zero'd out for later use somewhere else.
Signed-off-by: Jeff King <peff@peff.net >
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2019-03-18 15:09:40 +09:00
..
2019-02-06 22:05:23 -08:00
2019-03-07 09:59:58 +09:00
2018-08-13 14:14:44 -07:00
2019-01-02 13:05:30 -08:00
2019-02-11 12:58:06 -08:00
2019-03-07 09:59:52 +09:00
2019-03-07 09:59:54 +09:00
2019-01-24 12:35:44 -08:00
2019-02-06 22:05:27 -08:00
2019-01-24 11:55:06 -08:00
2019-01-24 11:55:06 -08:00
2019-02-06 22:05:23 -08:00
2019-03-07 09:59:56 +09:00
2019-01-24 11:55:06 -08:00
2019-02-06 22:05:23 -08:00
2018-05-13 10:45:05 +09:00
2019-01-22 11:33:46 -08:00
2019-01-22 11:08:35 -08:00
2019-03-07 09:59:58 +09:00
2019-01-29 12:47:54 -08:00
2018-11-13 14:22:02 +09:00
2019-02-06 22:05:29 -08:00
2019-01-24 11:55:06 -08:00
2019-01-24 11:55:06 -08:00
2019-03-07 09:59:54 +09:00
2019-03-07 09:59:59 +09:00
2019-02-06 22:05:23 -08:00
2019-01-04 13:33:33 -08:00
2019-02-05 14:26:11 -08:00
2019-02-11 12:58:06 -08:00
2018-10-19 13:34:02 +09:00
2019-02-06 22:05:23 -08:00
2019-03-18 15:09:40 +09:00
2019-02-06 22:05:23 -08:00
2019-01-24 11:55:06 -08:00
2019-02-20 12:31:56 -08:00
2019-01-08 09:41:06 -08:00
2019-01-29 12:47:54 -08:00
2018-11-06 12:56:29 +09:00
2019-02-20 12:31:56 -08:00
2019-02-06 22:05:23 -08:00
2018-11-13 22:37:17 +09:00
2019-01-14 15:29:28 -08:00
2018-11-02 11:04:55 +09:00
2018-11-06 12:56:29 +09:00
2019-01-24 11:55:06 -08:00
2019-01-24 11:55:06 -08:00
2019-02-06 22:05:23 -08:00
2019-02-06 22:05:23 -08:00
2019-03-07 09:59:52 +09:00
2018-05-16 11:42:03 +09:00
2018-10-15 12:53:15 +09:00
2018-09-17 13:49:38 -07:00
2019-01-24 11:55:06 -08:00
2018-06-29 10:43:39 -07:00
2019-01-15 15:38:29 -08:00
2019-02-22 15:28:21 -08:00
2019-03-07 09:59:54 +09:00
2019-03-07 09:59:55 +09:00
2019-02-14 15:25:33 -08:00
2019-02-20 12:31:56 -08:00
2019-01-18 13:49:52 -08:00
2018-10-19 13:34:02 +09:00
2019-01-24 11:55:06 -08:00
2019-02-06 22:05:23 -08:00
2019-02-22 15:28:21 -08:00
2019-03-07 09:59:57 +09:00
2019-02-06 22:05:27 -08:00
2018-09-24 10:30:52 -07:00
2019-01-18 13:49:57 -08:00
2019-02-20 12:31:56 -08:00
2019-01-15 15:38:29 -08:00
2019-02-22 15:28:21 -08:00
2019-02-06 22:05:25 -08:00
2019-01-24 11:55:06 -08:00
2019-01-04 13:33:33 -08:00
2019-01-24 11:55:06 -08:00
2019-01-02 13:05:30 -08:00
2018-12-15 12:24:33 +09:00
2018-11-06 12:56:29 +09:00
2018-05-29 00:28:22 +09:00
2019-01-08 09:41:06 -08:00
2018-12-26 15:41:47 -08:00
2019-02-22 15:27:59 -08:00
2018-11-06 12:56:29 +09:00
2018-05-16 11:42:03 +09:00
2018-08-29 11:32:49 -07:00
2019-03-07 09:59:52 +09:00
2018-09-12 15:17:17 -07:00
2018-10-26 10:17:59 +09:00
2018-07-18 15:45:14 -07:00
2018-06-29 10:43:39 -07:00
2019-02-22 15:28:21 -08:00
2019-01-24 11:55:06 -08:00