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

Re: [BUG] serious inflate inconsistency on master

From
Jeff King <peff@peff.net>
Date
Jul 4, 2012, 07:24 UTC
Message-ID
<20120704072412.GC24807@sigill.intra.peff.net>
In-Reply-To
<CACsJy8AH6HHxE-P4j4O_VtVzz6-pe2VWk5ZayOfbZomfX2z7sg@mail.gmail.com>
On Wed, Jul 04, 2012 at 02:01:06PM +0700, Nguyen Thai Ngoc Duy wrote:
Show 14 quoted lines
> On Wed, Jul 4, 2012 at 1:31 PM, Junio C Hamano <gitster@pobox.com> wrote:
> > Nguyen Thai Ngoc Duy <pclouds@gmail.com> writes:
> >
> >> By the way I searched the commit that introduces that check with "git
> >> log --follow -p builtin/index-pack.c" but I could not find it. What
> >> did I do wrong?
> >
> > Your commit 8a2e163cc shows changes to the file at ll.535-540; these
> > come from 776ea370 builtin-index-pack.c ll.383-388.
> >
> >   $ git show 776ea370:builtin-index-pack.c
> 
> git newbie's hat's on. How do you find 776ea370, git-blame? Another
> question is why doesn't git-log show that commit?

I used git-blame to find it. As to your second question, I believe it is one of the side-effects of the way --follow is bolted onto the revision traversal. Look at:

  gitk -- builtin/index-pack.c builtin-index-pack.c

and you will see that the commit in question happened on a simultaneous branch with the big builtin rename commit. Since we process 776ea370 before we hit the rename commit, we do not yet realize that builtin-index-pack.c is of interest to us.

-Peff
Previous: Nguyen Thai Ngoc DuyNext: Jeff King
Message 6 of 7 in “[BUG] serious inflate inconsistency on master”
  1. Jeff KingJul 3, 2012
  2. Junio C HamanoJul 3, 2012
  3. Nguyen Thai Ngoc DuyJul 4, 2012
  4. Junio C HamanoJul 4, 2012
  5. Nguyen Thai Ngoc DuyJul 4, 2012
  6. Jeff KingJul 4, 2012
  7. Jeff KingJul 4, 2012

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.