Code

match_refs: search ref list tail internally
authorClemens Buchacher <drizzd@aon.at>
Sun, 31 May 2009 14:26:48 +0000 (16:26 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 2 Jun 2009 02:41:24 +0000 (19:41 -0700)
commit6d2bf96e550731499c73731e5623017d193f837f
treebccf71ac9e47910a378878be963a2851a432f74d
parent6a01554e6350123c78de805d820e90f1c56e5fdc
match_refs: search ref list tail internally

Avoid code duplication by moving list tail search to match_refs().

This does not change the semantics, except for http-push, which now inserts
to the front of the ref list in order to get rid of the global remote_tail.

Signed-off-by: Clemens Buchacher <drizzd@aon.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-remote.c
builtin-send-pack.c
http-push.c
remote.c
remote.h
transport.c