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 :(
2015. július 22., szerda 21:10:56 UTC+2 időpontban Konstantin Khomoutov a
> On Wed, 22 Jul 2015 11:17:13 -0700 (PDT)
> > 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?
> Check out the `core.trustctime` and `core.checkstat` options.
> On the other hand, I'd say that even those options won't do what you
> See also  which contains pointers to interesting discussions in
> its most upvoted answer. From that discussion I gather that `git
> status` relies on mtime but creating actual commit still rehashes all
> the stuff so may be what's really required in your case is
> `git add -f -u` or `git add -f -A`, I dunno.
> 1. http://stackoverflow.com/q/1778862/720999
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.