git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Gladysh <agladysh@gmail.com>
To: Jeff King <peff@peff.net>
Cc: git@vger.kernel.org
Subject: Re: False positives in git diff-index
Date: Wed, 5 Jan 2011 06:07:35 +0000	[thread overview]
Message-ID: <AANLkTimQCMr+emw=rXdBKKnD_W9G981zCkboKgiDWxPF@mail.gmail.com> (raw)
In-Reply-To: <20110105054825.GC5884@sigill.intra.peff.net>

On Wed, Jan 5, 2011 at 05:48, Jeff King <peff@peff.net> wrote:
> On Tue, Jan 04, 2011 at 12:45:33PM +0300, Alexander Gladysh wrote:
>> > Anyway, I'm ready to debug this issue if someone will guide me.

> If adding a sleep makes it work, that sounds like a race condition in
> git. But from the description of your workflow, it should be easy to
> make a minimal example:

> -- 8< --

> Basically, we generate random data which has a 20% chance of
> being the same as what's there. When it is, we should get "not bothering
> to commit", but in your error case, we would try to commit (and get "no
> changes").

> But using that script, I can't replicate your problem. Can you try
> running it on the same box you're having trouble with? That might at
> least tell us if it's your environment or something more complex going
> on.

Thank you. I tried it, and, unfortunately, it does not reproduce the problem.

Alexander.

  reply	other threads:[~2011-01-05  6:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-27  8:49 False positives in git diff-index Alexander Gladysh
2011-01-04  9:45 ` Alexander Gladysh
2011-01-04 11:47   ` Zenaan Harkness
2011-01-04 12:01     ` Alexander Gladysh
2011-01-04 14:08       ` Jakub Narebski
2011-01-04 14:46         ` Alexander Gladysh
2011-01-05  5:48   ` Jeff King
2011-01-05  6:07     ` Alexander Gladysh [this message]
2011-01-05  6:15       ` Jeff King
2011-01-05  7:46         ` Alexander Gladysh
2011-01-05  8:08           ` Jeff King
2011-01-06 12:12             ` Alexander Gladysh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTimQCMr+emw=rXdBKKnD_W9G981zCkboKgiDWxPF@mail.gmail.com' \
    --to=agladysh@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=peff@peff.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).