Commit Briefs

98f64f14c3 Stefan Sperling

work around spurious ACK responses from git servers in got-fetch-pack

The Git server can apparently send duplicate ACK responses even though we do not enable the multi_ack capability. According to the Git protocol docs the server should only send ACKs after receiving 'done' from the client if multi_ack has been enabled. However, a duplicate ACK response can be triggered by running 'got fetch -a' in our fetch_update_tag test. This resulted in the following error: got-fetch-pack: unknown side-band received from server got: bad packet received


6059809a13 Stefan Sperling

use size_t for loop indices to avoid signedness warnings; by emaste@freebsd

Same change as 16aeacf7088d, for subdirectories other than lib/


62d463cac1 Christian Weisgerber

indentation fixes


23c57b285f Christian Weisgerber

Stop including <sys/syslimits.h> directly.

POSIX says the limits defined there are available from <limits.h>, which almost all affected source files already included anyway. ok millert stsp


3168e5da21 Stefan Sperling

zap trailing tabs


81a12da586 Christian Weisgerber

do not rely on <zlib.h> to pull in <unistd.h>

ok stsp


631179de38 Christian Weisgerber

Fix missing block grouping.

ok tracey stsp



dc671e91ec Stefan Sperling

compute pack file's checksum during download and check it in got-fetch-pack

Compared to the previous version committed in 520a0c97 this code should compute the checksum correctly for any amount of pack file data bytes read from the socket at a time.







0bec957e3c Stefan Sperling

close fetchfd when we're done in got-fetch-pack









f1c6967f90 Stefan Sperling

fix chopped display of git-server's progress output


3c912d14ad Stefan Sperling

remove chattygit mode from got-fetch-pack


7848a0e165 Stefan Sperling

implement 'got fetch'