summaryrefslogtreecommitdiff
path: root/t/t4133-apply-filenames.sh
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2014-12-12 09:56:45 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-12-12 11:43:47 -0800
commit2e376b3156ff30dcd359b7c424fcbdbab5ec7709 (patch)
tree616f2e2ca0c1caa636ebfd0d078d12b533f2bc07 /t/t4133-apply-filenames.sh
parentexpire_reflog(): rename "ref" parameter to "refname" (diff)
downloadtgif-2e376b3156ff30dcd359b7c424fcbdbab5ec7709.tar.xz
expire_reflog(): return early if the reference has no reflog
There is very little cleanup needed if the reference has no reflog. If we move the initialization of log_file down a bit, there's even less. So instead of jumping to the cleanup code at the end of the function, just do the cleanup and return inline. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4133-apply-filenames.sh')
0 files changed, 0 insertions, 0 deletions