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

Re: [PATCH] First cut at libifying revlist generation

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Feb 27, 2006, 01:57 UTC
Message-ID
<Pine.LNX.4.63.0602270257110.4147@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<Pine.LNX.4.64.0602251608160.22647@g5.osdl.org>
Hi,

beware of that patch. It breaks at least one thing: cloning a repository with a tag pointing to a tag object (the tag is cloned, but not the tag object).

Sorry to not fix it right away, but I am just too tired.

By way of figuring this out, I just found a (warning: irony) "cute feature" of git-bisect. I needed to apply a certain patch to trigger a certain bug. So I always applied that patch after bisect chose the next rev, and of course committed it so that bisect could continue.

(In hindsight, I probably should've applied the patch, git-update-index'ed the file, and hoped that the merge mechanism take care of it.)

Now, short of finding the correct commit, bisect would loop endlessly, giving me the same rev to test over and over again (saying "2 revs to go after this"), because I would label the current rev (which was the applied patch, not the bad rev) as bad.

So, in a very real sense, it might not be such a phantastic idea as was suggested earlier on this list, that you are able to commit on top of a bisected rev.

Good night and good luck, Dscho

Previous: Junio C HamanoNext: Linus Torvalds
Message 3 of 12 in “First cut at libifying revlist generation”
  1. First cut at libifying revlist generationLinus Torvalds, Feb 26, 2006
  2. Junio C HamanoFeb 26, 2006
  3. Johannes SchindelinFeb 27, 2006
  4. Linus TorvaldsFeb 27, 2006
  5. Junio C HamanoFeb 27, 2006
  6. Linus TorvaldsFeb 27, 2006
  7. Junio C HamanoFeb 27, 2006
  8. Linus TorvaldsFeb 27, 2006
  9. Linus TorvaldsFeb 27, 2006
  10. Junio C HamanoFeb 27, 2006
  11. Johannes SchindelinFeb 27, 2006
  12. Junio C HamanoFeb 28, 2006

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.