Re: [PATCH] Build configuration to skip ctime for modification test
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 22, 2008, 20:17 UTC
- Message-ID
- <alpine.DEB.1.00.0807222115440.8986@racer>
- In-Reply-To
- <20080722193901.GA5113@blimp.local>
Hi,
On Tue, 22 Jul 2008, Alex Riesen wrote:
> +#ifndef NO_TRUSTABLE_FILEMODE > if (ce->ce_ctime != (unsigned int) st->st_ctime) > changed |= CTIME_CHANGED; > +#endif
Surely you meant trust_executable_bit instead, right?
Otherwise, if you really want to tell at compile time,I think for clarity you have to introduce another #define, since NO_TRUSTABLE_FILEMODE definitely says something different than CTIME_IS_USELESS.
Ciao, Dscho