summaryrefslogtreecommitdiffstats
path: root/t/t7010-setup.sh
diff options
context:
space:
mode:
authorJohannes Sixt <j.sixt@viscovery.net>2011-08-12 07:20:00 +0200
committerJunio C Hamano <gitster@pobox.com>2011-08-14 23:19:35 +0200
commit86d4b528d8a4752cc689279fb6d38c8697a507bb (patch)
tree960aa6832d1f56ba8f2ae53aa145b55eb430c0a2 /t/t7010-setup.sh
parentmerge-recursive: Split was_tracked() out of would_lose_untracked() (diff)
downloadgit-86d4b528d8a4752cc689279fb6d38c8697a507bb.tar.xz
git-86d4b528d8a4752cc689279fb6d38c8697a507bb.zip
string-list: Add API to remove an item from an unsorted list
Teach the string-list API how to remove an entry in O(1) runtime by moving the last entry to the vacated spot. As such, the routine works only for unsorted lists. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7010-setup.sh')
0 files changed, 0 insertions, 0 deletions