author | Junio C Hamano <gitster@pobox.com> | |
Mon, 21 Mar 2011 04:52:40 +0000 (21:52 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 21 Mar 2011 04:53:11 +0000 (21:53 -0700) | ||
commit | c12f5917e4f528b056a8b9ca625397aee97ae1e4 | |
tree | ca8f2f8177e11e021917398886ad63353043f15e | tree | snapshot |
parent | 761ecf0bc7b6cddf311f00877c59e6381cdbdeea | commit | diff |
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>
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>
builtin/fetch-pack.c | diff | blob | history |