author | Shawn O. Pearce <spearce@spearce.org> | |
Sat, 31 Oct 2009 00:47:28 +0000 (17:47 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 31 Oct 2009 02:20:54 +0000 (19:20 -0700) | ||
commit | 292ce46b60e2c12450c5c21044acf9c41bd837df | |
tree | 0db25466b9bc4f695240b1b9b0e79bfec30d9c4b | tree | snapshot |
parent | cff7123c11aa2b1a849a46028d60b4bc0ab54c51 | commit | diff |
remote-helpers: Fetch more than one ref in a batch
Some network protocols (e.g. native git://) are able to fetch more
than one ref at a time and reduce the overall transfer cost by
combining the requests into a single exchange. Instead of feeding
each fetch request one at a time to the helper, feed all of them
at once so the helper can decide whether or not it should batch them.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
CC: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Some network protocols (e.g. native git://) are able to fetch more
than one ref at a time and reduce the overall transfer cost by
combining the requests into a single exchange. Instead of feeding
each fetch request one at a time to the helper, feed all of them
at once so the helper can decide whether or not it should batch them.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
CC: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-remote-helpers.txt | diff | blob | history | |
remote-curl.c | diff | blob | history | |
transport-helper.c | diff | blob | history |