Re: Git checkout preserve timestamp?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]