From 67c2b02fdb4a863f1a7934b2c907b6d11c236f75 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 7 Jun 2009 03:41:20 -0700 Subject: examples/cat-chunk-proxy: link to proposed curl(1) patch Then hopefully soon we'll be able to get rid of this script... --- examples/cat-chunk-proxy.rb | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/examples/cat-chunk-proxy.rb b/examples/cat-chunk-proxy.rb index 3a5921f..ca775e7 100755 --- a/examples/cat-chunk-proxy.rb +++ b/examples/cat-chunk-proxy.rb @@ -1,10 +1,15 @@ #!/home/ew/bin/ruby -# I wish I could just use curl -sfNT- http://host:port/, but +# I wish I could just use curl --no-buffer -sSfT- http://host:port/, but # unfortunately curl will attempt to read stdin in blocking mode, -# preventing it from getting responses from the server until -# stdin has been written to. +# preventing it from getting responses from the server until stdin has +# been written to. # -# Usage: GIT_PROXY_COMMAND=/path/to/here git clone git://host:port/project +# For a patch that enables using curl(1) instead of this script: +# +# http://mid.gmane.org/20090607101700.GB19407@dcvr.yhbt.net +# +# Usage: GIT_PROXY_COMMAND=/path/to/here git clone +# git://host:port/project # # Where host:port is what the Unicorn server is bound to -- cgit v1.2.3-24-ge0c7