Re: Git checkout preserve timestamp?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 2, 2007, 19:21 UTC
- Message-ID
- <Pine.LNX.4.63.0703022018190.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <20070302162136.GA9593@diana.vm.bytemark.co.uk>
Hi,
On Fri, 2 Mar 2007, Karl Hasselström wrote:
> However, given that your file timestamps have been bumped (without file > content changes),
There were changes. Only that they have been taken back, but that is _another_ change.
> it's a performance bug in your make tool if this causes it to needlessly > rebuild half the known universe. (Fixing the bug by using content hashes > to detect changes may or may not be a good trade-off, depending on your > workflow.)
Getting dependencies right is sometimes not very easy. I participate in projects which have _seriously_ broken dependencies. In these cases, I do a quick "touch source.c" to force a recompilation.
You'd break this workaround.
Ciao, Dscho
P.S.: yes, I know I could possibly find the object file and remove that, too. But finding the source is often easier.