git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Add git-bundle - pack objects and references for disconnected transfer

From
Simon 'corecode' Schubert <corecode@fs.ei.tum.de>
Date
Feb 16, 2007, 13:25 UTC
Message-ID
<45D5B0C0.3040303@fs.ei.tum.de>
In-Reply-To
<7238711.2657861171629916957.JavaMail.root@vms064.mailsrvcs.net>
Mark Levedahl wrote:
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   / \
Previous: Mark LevedahlNext: Johannes Schindelin
Message 2 of 4 in “Re: Re: [PATCH] Add git-bundle - pack objects and references for disconnected transfer”
  1. Mark LevedahlFeb 16, 2007
  2. Simon 'corecode' SchubertFeb 16, 2007
  3. Johannes SchindelinFeb 16, 2007
  4. Mark LevedahlFeb 16, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.