summaryrefslogtreecommitdiff
path: root/t/t9151-svn-mergeinfo.sh
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2015-06-22 16:03:09 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-06-22 13:17:14 -0700
commite2991c80485c646c86f5d80423f9ae983bed120b (patch)
treeeb7f420f02b65e1a006fafdf1f7325b7c44a9832 /t/t9151-svn-mergeinfo.sh
parentupdate_ref(): don't read old reference value before delete (diff)
downloadtgif-e2991c80485c646c86f5d80423f9ae983bed120b.tar.xz
cmd_update_ref(): make logic more straightforward
Restructure the code to avoid clearing oldsha1 when oldval is unset. It's value is not needed in that case, so this change makes it more obvious that its initialization is consistent with its later use. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9151-svn-mergeinfo.sh')
0 files changed, 0 insertions, 0 deletions