summaryrefslogtreecommitdiff
path: root/builtin/push.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2014-11-25 09:02:30 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-11-25 10:09:45 -0800
commit28d3f214d12af4a3d7e625faf4bb0af6c735fa8b (patch)
tree08c9a1ef176b1c34adabced7939c9f8d52efc13c /builtin/push.c
parentprune_remote(): exit early if there are no stale references (diff)
downloadtgif-28d3f214d12af4a3d7e625faf4bb0af6c735fa8b.tar.xz
prune_remote(): initialize both delete_refs lists in a single loop
Also free them together at the end of the function. In a moment, the array version will become redundant. Managing them together makes later steps more obvious. 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 'builtin/push.c')
0 files changed, 0 insertions, 0 deletions