summaryrefslogtreecommitdiff
path: root/t/t3414-rebase-preserve-onto.sh
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2014-08-21 08:21:20 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-08-26 12:58:02 -0700
commit26be19ba8d8d2e7e3e288b395e7156d5b7af5140 (patch)
treef025f721c298e2770de4419200a85758671b153b /t/t3414-rebase-preserve-onto.sh
parentMerge branch 'jk/diff-tree-t-fix' (diff)
downloadtgif-26be19ba8d8d2e7e3e288b395e7156d5b7af5140.tar.xz
send-pack: take refspecs over stdin
Pushing a large number of refs works over most transports, because we implement send-pack as an internal function. However, it can sometimes fail when pushing over http, because we have to spawn "git send-pack --stateless-rpc" to do the heavy lifting, and we pass each refspec on the command line. This can cause us to overflow the OS limits on the size of the command line for a large push. We can solve this by giving send-pack a --stdin option and using it from remote-curl. We already dealt with this on the fetch-pack side in 078b895 (fetch-pack: new --stdin option to read refs from stdin, 2012-04-02). The stdin option (and in particular, its use of packet-lines for stateless-rpc input) is modeled after that solution. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3414-rebase-preserve-onto.sh')
0 files changed, 0 insertions, 0 deletions