diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-06-07 03:41:20 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-06-07 03:41:20 -0700 |
commit | 67c2b02fdb4a863f1a7934b2c907b6d11c236f75 (patch) | |
tree | 796afe635a32dcc549d1087c3025261a309fc858 | |
parent | a834b9fe0f3085f979d7f378d3cb72e0a052d85c (diff) | |
download | unicorn-67c2b02fdb4a863f1a7934b2c907b6d11c236f75.tar.gz |
Then hopefully soon we'll be able to get rid of this script...
-rwxr-xr-x | examples/cat-chunk-proxy.rb | 13 |
1 files 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 |