aboutsummaryrefslogtreecommitdiffstats
path: root/commit.c
diff options
context:
space:
mode:
authorDavid Turner <dturner@twopensource.com>2016-04-07 15:03:01 -0400
committerJunio C Hamano <gitster@pobox.com>2016-04-10 11:35:24 -0700
commit7048653a7351df6049e2306a51b0a06b83aa181b (patch)
tree898fa0eed7f2f0b7d7a9ab1c384295cd7b20014f /commit.c
parentresolve_ref_1(): eliminate local variable "bad_name" (diff)
downloadgit-7048653a7351df6049e2306a51b0a06b83aa181b.tar.gz
git-7048653a7351df6049e2306a51b0a06b83aa181b.zip
files-backend: break out ref reading
Refactor resolve_ref_1 in terms of a new function read_raw_ref, which is responsible for reading ref data from the ref storage. Later, we will make read_raw_ref a pluggable backend function, and make resolve_ref_unsafe common. Signed-off-by: David Turner <dturner@twopensource.com> Helped-by: Duy Nguyen <pclouds@gmail.com> Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions