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

Re: False positives in git diff-index

From
Alexander Gladysh <agladysh@gmail.com>
Date
Jan 4, 2011, 14:46 UTC
Message-ID
<AANLkTikD5znEPTqR-UeLsusV6sj80vO0dOPuK9QDN6LW@mail.gmail.com>
In-Reply-To
<m339p8dap4.fsf@localhost.localdomain>
On Tue, Jan 4, 2011 at 14:08, Jakub Narebski <jnareb@gmail.com> wrote:
> Alexander Gladysh <agladysh@gmail.com> writes:
>> On Tue, Jan 4, 2011 at 14:47, Zenaan Harkness <zen@freedbms.net> wrote:
>> > On Tue, Jan 4, 2011 at 20:45, Alexander Gladysh <agladysh@gmail.com> wrote:
>> > So your problem could be quite hard to debug, whilst being distinctly
>> > difficult to ascertain the root causes.
>> 1. I found a reproducible case for a hard to catch bug in Git. (This
>> is a bug in Git, not in my build process.) This bug in its
>> intermittent form annoyed me for quite some time — several months at
>> least — and is likely to annoy other users. (I'm not *that* unique!)
> But it is reproductible to you: from what I understand you didn't find
> some minimal example to reproduce this issue without need for access
> your proprietary build process.
> AG> Unfortunately I can not share it or create a minimal example ? the
> AG> case is triggered by a custom complicated automated build process on a
> AG> private repository.
Yes, that is true. Still, much, much better than intermittent.
>> 3. I'm willing to help Git developers with catching this bug for
>> mutual benefit — I will get rid of annoying issue and make my
>> deployment code more robust. Git will, well, be a bit more robust as
>> well.
> To debug it, if you cannot do it yourself, you would have to find git
> developer who is both knowledgeable about fairly deep part of git
> code, and can work with remote debugging with you at remote.

I understand that. But is the second part of requirement is such a large problem?

Anyway, as I said, if no one will step up, no problem.
Show 6 quoted lines
> P.S. Somewhere in the depths of git maling list archive (it didn't
> unfortunately made it to "Interfaces, Frontends and tools" page on git
> wiki) there is tool/script for anonymizing git repository, to allow
> debugging of bugs which occurs in some repositories that cannot be
> made public.  Perhaps something similar could be done for your build
> process (you need to reproduce only stat + git part)?

I remember, somebody advised me to use this tool, when I reported some bug some time (maybe a year) ago.

But, I'm afraid, I do not know how to separate my deployment tool logic (which reproduces the bug) from the repository data. If I did know, I'd come up with a minimal example already. Nothing trivial "along the lines", that I tried so far, does reproduce it.

Alexander.
Previous: Jakub NarebskiNext: Jeff King
Message 6 of 12 in “False positives in git diff-index”
  1. Alexander GladyshDec 27, 2010
  2. Alexander GladyshJan 4, 2011
  3. Zenaan HarknessJan 4, 2011
  4. Alexander GladyshJan 4, 2011
  5. Jakub NarebskiJan 4, 2011
  6. Alexander GladyshJan 4, 2011
  7. Jeff KingJan 5, 2011
  8. Alexander GladyshJan 5, 2011
  9. Jeff KingJan 5, 2011
  10. Alexander GladyshJan 5, 2011
  11. Jeff KingJan 5, 2011
  12. Alexander GladyshJan 6, 2011

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.