Merge branch 'hn/refs-fetch-head-is-special'
authorJunio C Hamano <gitster@pobox.com>
Thu, 27 Aug 2020 21:04:49 +0000 (14:04 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 27 Aug 2020 21:04:49 +0000 (14:04 -0700)
commit98df75b286f4addaeebde96fc2e85d67a046eea2
tree037a1dda142e4b32ecc8ca0ccd93da21ff1288d6
parentbd3ae9fb7d688e85cc5bbb9a8ed76e1d2813ed62
parente81153027857b0b0ed3dfa6a544df2beeac0cfce
Merge branch 'hn/refs-fetch-head-is-special'

The FETCH_HEAD is now always read from the filesystem regardless of
the ref backend in use, as its format is much richer than the
normal refs, and written directly by "git fetch" as a plain file..

* hn/refs-fetch-head-is-special:
  refs: read FETCH_HEAD and MERGE_HEAD generically
  refs: move gitdir into base ref_store
  refs: fix comment about submodule ref_stores
  refs: split off reading loose ref data in separate function
refs.c