Re: integrating make and git
- From
Matthieu Moy <matthieu.moy@imag.fr>
- Date
- Apr 15, 2009, 15:41 UTC
- Message-ID
- <vpqbpqx6i22.fsf@bauges.imag.fr>
- In-Reply-To
- <3a69fa7c0904150819x7598dea5ic43bf0991c35ae45@mail.gmail.com>
E R <pc88mxer@gmail.com> writes:
Show 5 quoted lines
> When checking out a > different revision of the project you would have to perform another > 'make clean' before 'make all' since you aren't sure of what's changed > and the timestamps of the derived files will be more recent than the > timestamps of the source files.
The last assumption is incorrect. git checkout will touch the files it modifies, and won't play with timestamp precisely to save you from having to do "make clean" each time you use git.
-- Matthieu