Thread (12 messages) flat view 12 messages, 6 authors, 2016-06-15

gitk pays too much attention to file timestamps

From: Alexander Gladysh <hidden>
Date: 2016-06-15 22:48:34

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.

See steps to reproduce below.

HTH,
Alexander.

$ mkdir touch
$ cd touch
$ git init
$ echo "A" > alpha
$ git add alpha
$ git commit -m "alpha"
$ touch alpha
$ git status
# On branch master
nothing to commit (working directory clean)
$ gitk --all

Observe "local uncommitted changes, not checked in to index"
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help