refs: handle "refs/bisect/" in `loose_fill_ref_dir()`
commite3bf2989cad99b67fceeb55ff7b822b5a7e1aff2
authorMichael Haggerty <mhagger@alum.mit.edu>
Sun, 16 Apr 2017 06:41:35 +0000 (16 08:41 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Apr 2017 04:32:46 +0000 (16 21:32 -0700)
tree806870c7c35277af44f4e4279bd986ce64b732da
parentdf30875987329bb46e54ec7be0eb29c33702de3a
refs: handle "refs/bisect/" in `loose_fill_ref_dir()`

That "refs/bisect/" has to be handled specially when filling the
ref_cache for loose references is a peculiarity of the files backend,
and the ref-cache code shouldn't need to know about it. So move this
code to the callback function, `loose_fill_ref_dir()`.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/files-backend.c
refs/ref-cache.c