diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2014-11-25 09:02:30 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-11-25 10:09:45 -0800 |
commit | 28d3f214d12af4a3d7e625faf4bb0af6c735fa8b (patch) | |
tree | 08c9a1ef176b1c34adabced7939c9f8d52efc13c /test-read-cache.c | |
parent | prune_remote(): exit early if there are no stale references (diff) | |
download | tgif-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 'test-read-cache.c')
0 files changed, 0 insertions, 0 deletions