summaryrefslogtreecommitdiff
path: root/tar.h
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2013-10-30 06:33:09 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-10-30 14:16:41 -0700
commitb9afe6654db2bfb776db933f832e7e03052adf98 (patch)
treeb88e6f7c317f436739cd15d8942bc00518d391c2 /tar.h
parentt5536: new test of refspec conflicts when fetching (diff)
downloadtgif-b9afe6654db2bfb776db933f832e7e03052adf98.tar.xz
ref_remove_duplicates(): simplify loop logic
Change the loop body into the more straightforward * remove item from the front of the old list * if necessary, add it to the tail of the new list and return a pointer to the new list (even though it is currently always the same as the input argument, because the first element in the list is currently never deleted). Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tar.h')
0 files changed, 0 insertions, 0 deletions