On Thu, 2015-07-23 at 01:23 -0700, Konrád Lőrinczi wrote:
> I should somehow ignore atime and mtime when doing diff for status.

Just to be clear, what this would involve is for every file in the repo,
Git would have to extract the HEAD version into a temporary file (or
memory buffer) then compare it to what's currently in the work tree.

I'm not saying that such a thing should be impossible; adding some kind
of flag that does this sort of 100% reliable check could be useful.
But, it's not surprising that no one would want to use such a flag (and
hence why it's not implemented now).

Of course, you could write a script that would do this yourself, and
explicitly "git add" any file determined to be changed.

I wonder if it wouldn't be simpler to just modify the tool you're using
so it doesn't reset the timestamp on the file in the first place...

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 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to