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

Re: [PATCH] Add git-bundle: move objects and references by archive.

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 19, 2007, 02:02 UTC
Message-ID
<Pine.LNX.4.63.0702190257250.22628@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<7v7iuedif9.fsf@assigned-by-dhcp.cox.net>
Hi,
On Sun, 18 Feb 2007, Junio C Hamano wrote:
Show 11 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
> 
> > Sorry to be such a PITA, but I really, really think that it is wrong to 
> > make a tar dependency here. You said your cygwin has problems with binary 
> > files. Could you please try this:
> >
> > 	$ echo -ne '\x1a\x1b\x15\x10\0abc' | cat | wc
> 
> It might be just me, but "echo -e" makes me feel much more
> uneasy than explicitly saying "Sorry, we require GNU tar in
> this little corner of the system".

Hey, this was meant as a _test_ on why it fails for Mark, not as the end result!

Show 11 quoted lines
> >> +            bfile=$1
> >
> > This can contain spaces (you are working on Windows, right? Windows users 
> > _love_ spaces in their filenames).
> 
> Which is fine.  Try var1=$var2 with something with SP or TAB in var2
> and later try running
> 
> 	$ echo "<$var1>"
> 
> to see what happens.
Okay, I did not know that.
Show 5 quoted lines
> >> +    gitrevargs=$(git-rev-parse --symbolic --revs-only $args) || exit 1
> >
> > Here, you rely again on the refs not containing spaces.
> 
> Which probably is fine, as refs cannot contain spaces ;-).

Ah! As we allow so many things in refnames, I assumed that spaces are allowed also.

Show 7 quoted lines
> >> +    # git-rev-list cannot determine edge objects if a date restriction is
> >> +    # given...  we do things a slow way if max-age or min-age are given
> >
> > Might make sense to teach max-age about boundary commits instead...
> 
> You are talking about a rather extensive change, but could be
> done.  But that is a separate issue, I think.
I don't think it's so hard.

Ciao, Dscho

Previous: Junio C HamanoNext: Shawn O. Pearce
Message 4 of 8 in “Add git-bundle: move objects and references by archive.”
  1. Add git-bundle: move objects and references by archive.Mark Levedahl, Feb 18, 2007
  2. Johannes SchindelinFeb 19, 2007
  3. Junio C HamanoFeb 19, 2007
  4. Johannes SchindelinFeb 19, 2007
  5. Shawn O. PearceFeb 19, 2007
  6. Mark LevedahlFeb 19, 2007
  7. Johannes SchindelinFeb 19, 2007
  8. Junio C HamanoFeb 19, 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.