summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2017-01-06 17:22:32 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-07 19:30:09 -0800
commit854bda6b4f7d6bc6087966bfa74a59c232eceac6 (patch)
tree61c5f99232baeeae7146e1e3144aa7f9a4090182 /t
parentlog_ref_write(): inline function (diff)
downloadtgif-854bda6b4f7d6bc6087966bfa74a59c232eceac6.tar.xz
log_ref_setup(): separate code for create vs non-create
The behavior of this function (especially how it handles errors) is quite different depending on whether we are willing to create the reflog vs. whether we are only trying to open an existing reflog. So separate the code paths. This also simplifies the next steps. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Reviewed-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions