author | Daniel Barkalow <barkalow@iabervon.org> | |
Mon, 9 Mar 2009 01:06:07 +0000 (21:06 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 9 Mar 2009 22:41:20 +0000 (15:41 -0700) | ||
commit | 64fcef2daa03f6093b480142c6ab2a4173b0b43e | |
tree | 9651ad403bca3e26ceac23c4314e459dfe20f288 | tree | snapshot |
parent | a9c37a72c4fbc8537de294d66b05bdfd7f9a4016 | commit | diff |
Move push matching and reporting logic into transport.c
For native-protocol pushes (and other protocols as they are converted
to the new method), this moves the refspec match, tracking update, and
report message out of send-pack() and into transport_push(), where it
can be shared completely with other protocols. This also makes fetch
and push more similar in terms of what code is in what file.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
For native-protocol pushes (and other protocols as they are converted
to the new method), this moves the refspec match, tracking update, and
report message out of send-pack() and into transport_push(), where it
can be shared completely with other protocols. This also makes fetch
and push more similar in terms of what code is in what file.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-send-pack.c | diff | blob | history | |
send-pack.h | diff | blob | history | |
transport.c | diff | blob | history | |
transport.h | diff | blob | history |