]> git.proxmox.com Git - libgit2.git/commit
git transport: don't loose received data
authorCarlos Martín Nieto <carlos@cmartin.tk>
Wed, 5 Oct 2011 18:12:12 +0000 (20:12 +0200)
committerVicent Marti <tanoku@gmail.com>
Wed, 12 Oct 2011 19:33:19 +0000 (21:33 +0200)
commitfc3e3c5577d177279b928ac23d3925de29a41056
tree10c8536674cc89065c922a875ba581f963069420
parent2c982daa2eec64b80c7940bfe1142295bd72edd8
git transport: don't loose received data

Using a different buffer in each function means that some data might
get lost. Store all the data in a buffer in the transport object.

Take this opportunity to use the generic download-pack function.

Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
src/transport_git.c