mbox series

[0/4] Handle FETCH_HEAD generically

Message ID pull.705.git.1597678796.gitgitgadget@gmail.com (mailing list archive)
Headers show
Series Handle FETCH_HEAD generically | expand

Message

Derrick Stolee via GitGitGadget Aug. 17, 2020, 3:39 p.m. UTC
This moves the FETCH_HEAD handling into refs.c as discussed in 
https://public-inbox.org/git/xmqq5z9pav01.fsf@gitster.c.googlers.com/

Han-Wen Nienhuys (4):
  Split off reading loose ref data in separate function
  refs: fix comment about submodule ref_stores
  refs: move gitdir into base ref_store
  refs: read FETCH_HEAD generically

 refs.c                | 27 +++++++++++++++++++++++-
 refs/files-backend.c  | 49 ++++++++++++++++++++++---------------------
 refs/packed-backend.c |  1 +
 refs/refs-internal.h  | 11 +++++++++-
 4 files changed, 62 insertions(+), 26 deletions(-)


base-commit: dc04167d378fb29d30e1647ff6ff51dd182bc9a3
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-705%2Fhanwen%2Ffetch-head-generically-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-705/hanwen/fetch-head-generically-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/705

Comments

Junio C Hamano Aug. 17, 2020, 7:40 p.m. UTC | #1
"Han-Wen Nienhuys via GitGitGadget" <gitgitgadget@gmail.com> writes:

> This moves the FETCH_HEAD handling into refs.c as discussed in 
> https://public-inbox.org/git/xmqq5z9pav01.fsf@gitster.c.googlers.com/
>
> Han-Wen Nienhuys (4):
>   Split off reading loose ref data in separate function
>   refs: fix comment about submodule ref_stores
>   refs: move gitdir into base ref_store
>   refs: read FETCH_HEAD generically
>
>  refs.c                | 27 +++++++++++++++++++++++-
>  refs/files-backend.c  | 49 ++++++++++++++++++++++---------------------
>  refs/packed-backend.c |  1 +
>  refs/refs-internal.h  | 11 +++++++++-
>  4 files changed, 62 insertions(+), 26 deletions(-)

Nice.  Quite cleanly done.

Will queue; thanks.