From: Simon 'corecode' Schubert Date: Fri, 16 Feb 2007 13:25:20 GMT Subject: Re: [PATCH] Add git-bundle - pack objects and references for disconnected transfer Message-ID: <45D5B0C0.3040303@fs.ei.tum.de> In-Reply-To: <7238711.2657861171629916957.JavaMail.root@vms064.mailsrvcs.net> Mark Levedahl wrote: >> #!/bin/sh >> echo "This is a git bundle. Use git-unbundle to process me." >&1 >> exit >> ### DATA ### >> >> or so >> >> cheers >> simon > > ... I *tried* that, and it fails under Cygwin. Apparently cygwin's > bash (or something) mangles data in the pipe (99% certain it will > turn out to be a latent crlf issue)... you can try something like: sed -e '1,/^##DATA##$/d' "$bundle" | git-index-pack --stdin and see if it works better. no need to stream the bundle completely, it can be read several times. cheers simon -- Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\ Work - Mac +++ space for low €€€ NOW!1 +++ Campaign \ / Party Enjoy Relax | http://dragonflybsd.org Against HTML \ Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \