Merge branch 'ab/gc-reflog'
authorJunio C Hamano <gitster@pobox.com>
Thu, 25 Apr 2019 07:41:14 +0000 (16:41 +0900)
committerJunio C Hamano <gitster@pobox.com>
Thu, 25 Apr 2019 07:41:14 +0000 (16:41 +0900)
commitf3c19f85c5aad6d3c8b56c3b2f3dfbf00852c8c4
treee3d761f85ca806622996ad71fd1261fd56ec4433
parent4a3ed2bec6031545aea38db10e443a979951346f
parentbf3d70fe93109616eb339e12dc9a7969b0bf025b
Merge branch 'ab/gc-reflog'

Fix various glitches in "git gc" around reflog handling.

* ab/gc-reflog:
  gc: handle & check gc.reflogExpire config
  reflog tests: assert lack of early exit with expiry="never"
  reflog tests: test for the "points nowhere" warning
  reflog tests: make use of "test_config" idiom
  gc: refactor a "call me once" pattern
  gc: convert to using the_hash_algo
  gc: remove redundant check for gc_auto_threshold