summaryrefslogtreecommitdiff
path: root/git-relink.perl
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2015-06-22 16:02:54 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-06-22 13:17:09 -0700
commitfc67a0825caaff4eb5d4afdcc626263c8d214f36 (patch)
tree96fb6e80fa7027e2668e2bd85300f56742ddb883 /git-relink.perl
parentremove_branches(): remove temporary (diff)
downloadtgif-fc67a0825caaff4eb5d4afdcc626263c8d214f36.tar.xz
delete_ref(): handle special case more explicitly
delete_ref() uses a different convention for its old_sha1 parameter than, say, ref_transaction_delete(): NULL_SHA1 means not to check the old value. Make this fact a little bit clearer in the code by handling it in explicit, commented code rather than burying it in a conditional expression. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-relink.perl')
0 files changed, 0 insertions, 0 deletions