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

Re: gitk pays too much attention to file timestamps

From
Markus Heidelberg <markus.heidelberg@web.de>
Date
Apr 6, 2010, 23:15 UTC
Message-ID
<201004070115.27285.markus.heidelberg@web.de>
In-Reply-To
<l2hc6c947f61004061557x8085600fif5e973077d9eb4f3@mail.gmail.com>
Alexander Gladysh, 2010-04-07 00:57:
Show 12 quoted lines
> Hi, list!
> 
> OS X 10.6.3
> Git 1.7.0.4
> 
> When I "touch" a file, gitk lists it in "local uncommitted changes,
> not checked in to index" (without a difference, just a name). I
> believe that it should not.
> 
> Git status, and git commit do ignore such files.
> 
> After git reset --hard, gitk stops seeing changes as expected.

The problem is that gitk doesn't invoke "git update-index --refresh", I guess it should on Update (F5) and Reload (Ctrl-F5).

Markus
Previous: Alexander GladyshNext: Jonathan Nieder
Message 2 of 15 in “gitk pays too much attention to file timestamps”
  1. Alexander GladyshApr 6, 2010
  2. Markus HeidelbergApr 6, 2010
  3. Jonathan NiederApr 6, 2010
  4. Alexander GladyshApr 6, 2010
  5. gitk: refresh index before checking for local changesJonathan Nieder, Apr 7, 2010
  6. Alexander GladyshApr 7, 2010
  7. Jonathan NiederApr 7, 2010
  8. A Large Angry SCMApr 7, 2010
  9. Jonathan NiederApr 7, 2010
  10. Junio C HamanoApr 7, 2010
  11. A Large Angry SCMApr 7, 2010
  12. Avery PennarunApr 7, 2010
  13. Jon SeymourApr 7, 2010
  14. Avery PennarunApr 6, 2010
  15. Jonathan NiederApr 7, 2010

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.