author | Clemens Buchacher <drizzd@aon.at> | |
Sun, 31 May 2009 14:26:48 +0000 (16:26 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 2 Jun 2009 02:41:24 +0000 (19:41 -0700) | ||
commit | 6d2bf96e550731499c73731e5623017d193f837f | |
tree | bccf71ac9e47910a378878be963a2851a432f74d | tree | snapshot |
parent | 6a01554e6350123c78de805d820e90f1c56e5fdc | commit | diff |
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>
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 | diff | blob | history | |
builtin-send-pack.c | diff | blob | history | |
http-push.c | diff | blob | history | |
remote.c | diff | blob | history | |
remote.h | diff | blob | history | |
transport.c | diff | blob | history |