aboutsummaryrefslogtreecommitdiff
path: root/zlib.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-03-20 21:52:40 -0700
committerJunio C Hamano <gitster@pobox.com>2011-03-20 21:53:11 -0700
commitc12f5917e4f528b056a8b9ca625397aee97ae1e4 (patch)
treeca8f2f8177e11e021917398886ad63353043f15e /zlib.c
parent761ecf0bc7b6cddf311f00877c59e6381cdbdeea (diff)
downloadgit-c12f5917e4f528b056a8b9ca625397aee97ae1e4.tar.gz
git-c12f5917e4f528b056a8b9ca625397aee97ae1e4.tar.xz
fetch-pack: factor out hardcoded handshake window size
The "git fetch" client presents the most recent 32 commits it has to the server and gives a chance to the server to say "ok, we heard enough", and continues reporting what it has in chunks of 32 commits, digging its history down to older commits. Move the hardcoded size of the handshake window outside the code, so that we can tweak it more easily. Signed-off-by: Junio C Hamano <gitster@pobox.com> Acked-by: Shawn Pearce <spearce@spearce.org>
Diffstat (limited to 'zlib.c')
0 files changed, 0 insertions, 0 deletions