]> git.ipfire.org Git - thirdparty/git.git/commit - refs/refs-internal.h
refs: split off reading loose ref data in separate function
authorHan-Wen Nienhuys <hanwen@google.com>
Wed, 19 Aug 2020 14:27:55 +0000 (14:27 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 19 Aug 2020 21:08:03 +0000 (14:08 -0700)
commite39620f07e092f36642ab97c6ced47be5b609d58
tree84b5a0bb7f28e8ad355f93acf1e8ded6341a54db
parent878e727637ec5815ccb3301eb994a54df95b21b8
refs: split off reading loose ref data in separate function

This prepares for handling FETCH_HEAD (which is not a regular ref)
separately from the ref backend.

Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs/files-backend.c
refs/refs-internal.h