git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* false positives from git diff-index when used with --git-dir
@ 2010-10-14 14:40 Alexander Gladysh
  2010-10-14 17:02 ` Jeff King
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Gladysh @ 2010-10-14 14:40 UTC (permalink / raw)
  To: git

Hi, list!

$ git --version
git version 1.7.3.1

$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 10.10
Release:	10.10
Codename:	maverick

I'm *sometimes* (once in about ten times I use it -- repository
changes between invocations of course) getting false positives from
git diff-index when I invoke git from another directory:

git --git-dir=path/to/.git --work-tree=path/to update-index -q --refresh
git --git-dir=path/to/.git --work-tree=path/to diff-index --exit-code
--quiet HEAD

This is *really* annoying and really kills the benifits from my
workflow automation scripts.

Unfortunately I can't find a reproducible use case for this bug.

Is there anything I can do to help catch it?

Thanks,
Alexander.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-14 17:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-14 14:40 false positives from git diff-index when used with --git-dir Alexander Gladysh
2010-10-14 17:02 ` Jeff King
2010-10-14 17:20   ` Alexander Gladysh

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).