git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git doesn't detect change, if file modification time is restored to original one
@ 2015-07-23  7:29 Konrád Lőrinczi
  2015-07-23  7:58 ` Sebastian Schuberth
  2015-07-23 14:17 ` Johannes Schindelin
  0 siblings, 2 replies; 7+ messages in thread
From: Konrád Lőrinczi @ 2015-07-23  7:29 UTC (permalink / raw)
  To: git

I wrote a search & replace perl script, which recursively searches
files and replaces text in them. After replace, it restores original
modification time (mtime) of file.

Interesting, that git status doesn't show replaced changes, if the
mtime is same as original.

Is there a way to force git status to show changes, even if the file
dates are the same?


I tried to set core to:
    trustctime = false
    checkStat = minimal
Unfortunately the change is still not detected :(
It seems isn't a way to force fallback to file checking and completely
ignore file modification date :(


Any idea?


Thanks,
Konrad Lorinczi

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

end of thread, other threads:[~2015-07-23 17:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-23  7:29 Git doesn't detect change, if file modification time is restored to original one Konrád Lőrinczi
2015-07-23  7:58 ` Sebastian Schuberth
2015-07-23  9:14   ` Konrád Lőrinczi
2015-07-23 14:53     ` Konstantin Khomoutov
2015-07-23 15:16       ` Karsten Blees
2015-07-23 17:32         ` Junio C Hamano
2015-07-23 14:17 ` Johannes Schindelin

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