git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Git diff-file bug?
@ 2012-09-28 18:55 Scott Batchelor
  2012-09-28 20:23 ` Jeff King
  2012-09-28 20:40 ` Git diff-file bug? Junio C Hamano
  0 siblings, 2 replies; 18+ messages in thread
From: Scott Batchelor @ 2012-09-28 18:55 UTC (permalink / raw)
  To: git

Hello.
I'm fairly new to git and am witnessing some strange behavior with git
that I suspect may be a bug. Can anyone set my mind at rest.

Every so often (I've not quite figured out the exact set of
circumstances yet)  "git diff-files" shows that every file in my repo
is modified, when I expect none to be. If I type "git status" (which
shows what I expect - no files modified) and then "git diff-files"
again, git now shows that no files have been modified (which is what I
expect). It's like "git status" is resetting something that "git
diff-files" uses.

I'm trying to figure out what the problem with "git diff-files" is
because gitk uses it under the hood, and I think that gitk is
reporting  erroneous changes (which are also reset by performing a
"git status" in the repo) in the "patch" files list.

Any thoughts? I'm using git 1.7.11.4 on SLES 10.3.

Thanks,
Scott.

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

end of thread, other threads:[~2012-10-03 11:58 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-28 18:55 Git diff-file bug? Scott Batchelor
2012-09-28 20:23 ` Jeff King
2012-09-28 20:50   ` [PATCH] gitk: refresh the index before running diff-files Jeff King
2012-09-28 21:40     ` Junio C Hamano
2012-09-28 22:11     ` Andreas Schwab
2012-09-28 22:31       ` Jeff King
2012-09-28 23:02         ` Junio C Hamano
2012-09-28 23:04           ` Jeff King
2012-09-28 23:18             ` Junio C Hamano
2012-09-28 23:20           ` Andreas Schwab
2012-09-30  0:05     ` Paul Mackerras
2012-09-30  1:42       ` Jeff King
2012-09-30 20:34         ` Jonathan Nieder
2012-10-01 22:32           ` Jeff King
2012-10-01 22:54             ` Junio C Hamano
2012-09-28 20:40 ` Git diff-file bug? Junio C Hamano
2012-10-03  8:04   ` Scott Batchelor
2012-10-03 11:58     ` Drew Northup

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).