Re: [Mesa-dev] [PATCH] mesa: don't touch git_sha1.h if sha1 didn't change

2011-05-02 Thread Marcin Slusarz
On Mon, May 02, 2011 at 06:25:31AM -0700, Dan Nicholson wrote: > On Sun, May 1, 2011 at 2:53 PM, Marcin Slusarz > wrote: > > Less recompiles... > > Good idea. Couple nits. > > > --- > >  bin/extract_git_sha1 |    8 ++-- > >  1 files changed, 6 insertions(+), 2 deletions(-) > > > > diff --gi

Re: [Mesa-dev] [PATCH] mesa: don't touch git_sha1.h if sha1 didn't change

2011-05-02 Thread Ian Romanick
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05/02/2011 06:25 AM, Dan Nicholson wrote: > On Sun, May 1, 2011 at 2:53 PM, Marcin Slusarz > wrote: >> Less recompiles... > > Good idea. Couple nits. I never noticed this before. I use ccache. Since the preprocessed file doesn't change, it doe

Re: [Mesa-dev] [PATCH] mesa: don't touch git_sha1.h if sha1 didn't change

2011-05-02 Thread Dan Nicholson
On Sun, May 1, 2011 at 2:53 PM, Marcin Slusarz wrote: > Less recompiles... Good idea. Couple nits. > --- >  bin/extract_git_sha1 |    8 ++-- >  1 files changed, 6 insertions(+), 2 deletions(-) > > diff --git a/bin/extract_git_sha1 b/bin/extract_git_sha1 > index e6e6731..fc7bf85 100755 > ---

[Mesa-dev] [PATCH] mesa: don't touch git_sha1.h if sha1 didn't change

2011-05-01 Thread Marcin Slusarz
Less recompiles... --- bin/extract_git_sha1 |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bin/extract_git_sha1 b/bin/extract_git_sha1 index e6e6731..fc7bf85 100755 --- a/bin/extract_git_sha1 +++ b/bin/extract_git_sha1 @@ -1,10 +1,14 @@ #!/bin/sh -touch src/mesa/m