Jeff King [off-list ref] writes:
I ran into a rather confusing case of fetching into a bare repository
with reflogs turned on:
...
This turns out to be caused by two subtle bugs: one that makes "git
fetch" use reflogs inconsistently, and the other that causes some ref
updates to fail when reflogs are turned on and off. Details are in the
fixes themselves.
[1/2]: fetch: load all default config at startup
[2/2]: ignore stale directories when checking reflog existence
Must have been painful and fun at the same time to diagnose these
;-) Both patches looked very sensible.
Thanks.