summaryrefslogtreecommitdiff
path: root/notes-cache.c
diff options
context:
space:
mode:
authorLibravatar Brandon Williams <bmwill@google.com>2018-05-16 15:57:52 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-05-18 06:19:42 +0900
commitc8fa9efe3a8765f44eacc5b0e114053a0297dfff (patch)
tree7aa5b896ab8021b31b418d256a0fe5d7c81e0b87 /notes-cache.c
parentrefspec: introduce struct refspec (diff)
downloadtgif-c8fa9efe3a8765f44eacc5b0e114053a0297dfff.tar.xz
refspec: convert valid_fetch_refspec to use parse_refspec
Convert 'valid_fetch_refspec()' to use the new 'parse_refspec()' function to only parse a single refspec and eliminate an allocation. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'notes-cache.c')
0 files changed, 0 insertions, 0 deletions