summaryrefslogtreecommitdiff
path: root/contrib/completion/git-completion.tcsh
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2015-06-03 15:51:58 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-06-03 11:44:25 -0700
commitf5517074f8f5cecc773b2ff927be4a059f2c9db0 (patch)
treeeeb57f600f2713cbf0042b40beaa90eb57767d95 /contrib/completion/git-completion.tcsh
parentfor-each-ref: report broken references correctly (diff)
downloadtgif-f5517074f8f5cecc773b2ff927be4a059f2c9db0.tar.xz
read_loose_refs(): simplify function logic
Make it clearer that there are two possible ways to read the reference, but that we handle read errors uniformly regardless of which way it was read. This refactoring also makes the following change easier to implement. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/completion/git-completion.tcsh')
0 files changed, 0 insertions, 0 deletions