|
From: | Stefan Monnier |
Subject: | Re: Don't complain about changed file when it hasn't changed |
Date: | Mon, 29 Aug 2016 20:39:46 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> I don't understand why Git touches files it doesn't need to change. > It can (and does, AFAIK) compute the checksum of a file to know > whether it changed. Usually it changes them then reverts them. E.g.: git stash git pull git stash pop all the files modified locally but not in the pulled change will have a new timestamp but the same old contents. Since these are separate Git invocations, I don't think it would be correct for Git to reset the timestamp to some earlier value. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |