Re: mtimes of working files
- From
- Andy Parkins <andyparkins@gmail.com>
- Date
- Jul 12, 2007, 07:57 UTC
- Message-ID
- <200707120857.53090.andyparkins@gmail.com>
- In-Reply-To
- <20070711202615.GE3069@efreet.light.src>
On Wednesday 2007 July 11, Jan Hudec wrote:
> I first thought the idea had something to do with make, but it will > actually promptly break most build tools, because change to earlier version > is a change too, but they wouldn't detect it.
I've found git's mtime setting to be the best where make is concerned so I would hate to see it changed. Even when switching branches or rebasing or whatever, only the changed files get rebuilt. The only time you get an unnecessary rebuild is if you do
git checkout branch1 git checkout branch2 git checkout branch1
But we can hardly expect git to be responsible for that.
Andy
-- Dr Andy Parkins, M Eng (hons), MIET andyparkins@gmail.com