Files
git/builtin
Æ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:52 +09:00
2019-03-07 09:59:54 +09:00
2019-03-07 09:59:56 +09:00
2019-02-06 22:05:23 -08:00
2018-05-13 10:45:05 +09:00
2019-01-29 12:47:54 -08:00
2019-02-06 22:05:23 -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-29 12:47:54 -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
2019-01-18 13:49:52 -08:00
2018-10-19 13:34:02 +09:00
2019-02-22 15:28:21 -08:00
2019-01-04 13:33:33 -08:00
2018-05-29 00:28:22 +09:00
2019-03-07 09:59:52 +09:00