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

Re: [PATCH] cg-fetch will now retrieve commits related to tags if missing.

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
Oct 20, 2005, 04:59 UTC
Message-ID
<46a038f90510192159h25aad025kf377e3e33b5d30d@mail.gmail.com>
In-Reply-To
<7virvsu79c.fsf@assigned-by-dhcp.cox.net>
On 10/20/05, Junio C Hamano <junkio@cox.net> wrote:
Show 11 quoted lines
> Martin Langhoff <martin.langhoff@gmail.com> writes:
>
> >>         GIT_DIR=../.. git-rev-parse --verify "$tagid^0" >/dev/null 2>&1 && continue
> >
> > Note however that git-rev-parse is lazy and won't check that the
> > commit is there. I have to call git-cat-file and check whether it
> > succeeds to know if we have the object.
>
> Are you sure?
>
> What "rev^0" does is:
Ok -- I was using ^{commit} which _is_ lazy, but you are right, ^0 isn't lazy.
Show 8 quoted lines
> BTW, I just got a SEGV while pulling Cogito repository over
> git-fetch-pack after interrupting rsync transfer (I wanted to
> switch to git transfer).  I am running with Johaness patch from
> today so the cause may be different from yours, but now I have
> something to look at, which is better than before.
>
> Fetching with rsync (and interrupting in the middle) is a good
> way to simulate a broken repository ;-).

Cool. That's something for you to play with I guess, to tell you the truth, I'm not useful with gdb ;)

martin
Previous: Junio C HamanoNext: Junio C Hamano
Message 6 of 7 in “cg-fetch will now retrieve commits related to tags if missing.”
  1. cg-fetch will now retrieve commits related to tags if missing.Martin Langhoff, Oct 20, 2005
  2. Junio C HamanoOct 20, 2005
  3. Martin LanghoffOct 20, 2005
  4. Martin LanghoffOct 20, 2005
  5. Junio C HamanoOct 20, 2005
  6. Martin LanghoffOct 20, 2005
  7. Junio C HamanoOct 20, 2005

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.