summaryrefslogtreecommitdiff
path: root/send-pack.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2017-02-10 12:16:13 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-02-10 11:13:26 -0800
commitb4f540b6cefdb33f35ffd5f8b2fb459c184a1bd7 (patch)
treed6bffab426c26d730e00e320e11aea113007991e /send-pack.c
parentrefs: make some ref_store lookup functions private (diff)
downloadtgif-b4f540b6cefdb33f35ffd5f8b2fb459c184a1bd7.tar.xz
refs: remove some unnecessary handling of submodule == ""
The only external entry point to the ref_store lookup functions is get_ref_store(), which ensures that submodule == "" is passed along as NULL. So ref_store_init() and lookup_ref_store() don't have to handle submodule being specified as the empty string. 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 'send-pack.c')
0 files changed, 0 insertions, 0 deletions