Code

Move "get_ack()" back to fetch-pack
authorShawn O. Pearce <spearce@spearce.org>
Sat, 31 Oct 2009 00:47:24 +0000 (17:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sat, 31 Oct 2009 02:20:53 +0000 (19:20 -0700)
commit28754ab5f0ce9b4f6ca1641c3e10e2c68bd9b3fc
tree4f70d7d3eb176452be9345b915fbc3db60edbabc
parentedace6f02eeae6f4a06ed1e4f6308703523d8535
Move "get_ack()" back to fetch-pack

In 41cb7488 Linus moved this function to connect.c for reuse inside
of the git-clone-pack command.  That was 2005, but in 2006 Junio
retired git-clone-pack in commit efc7fa53.  Since then the only
caller has been fetch-pack.  Since this ACK/NAK exchange is only
used by the fetch-pack/upload-pack protocol we should move it back
to be a private detail of fetch-pack.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch-pack.c
cache.h
connect.c