Re: [PATCH] Add git-bundle - pack objects and references for disconnected transfer
Show 13 quoted lines
>> #!/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 / \