I make an ugly hack in a branch at my git tree. Then I run after following after some git updates:
$ git rebase master ugly_hack $ make Makefile is older than Makefile.in configure, please rerun ./configure make: *** [Makefile] Error 1
$ git checkout master $ make Makefile is older than Makefile.in configure, please rerun ./configure make: *** [Makefile] Error 1
Is this behaviour intended? I thought git would reset all the file timestamps once I switch to another (master) branch... Am I wrong?
On Wed, May 31, 2006 at 12:55:02PM +0300, Saulius Krasuckas wrote:
I make an ugly hack in a branch at my git tree. Then I run after following after some git updates:
$ git rebase master ugly_hack $ make Makefile is older than Makefile.in configure, please rerun ./configure make: *** [Makefile] Error 1
$ git checkout master $ make Makefile is older than Makefile.in configure, please rerun ./configure make: *** [Makefile] Error 1
Is this behaviour intended? I thought git would reset all the file timestamps once I switch to another (master) branch... Am I wrong?
"Makefile" is not in git, so you need to run ./configure anyway?
Ciao, Marcus
* On Wed, 31 May 2006, Marcus Meissner wrote:
- On Wed, May 31, 2006 at 12:55:02PM +0300, Saulius Krasuckas wrote:
$ git rebase master ugly_hack
...
$ git checkout master $ make Makefile is older than Makefile.in configure, please rerun ./configure make: *** [Makefile] Error 1
...
I thought git would reset all the file timestamps once I switch to another (master) branch... Am I wrong?
"Makefile" is not in git, so you need to run ./configure anyway?
Well, yes, but what is changed in the tree after I checkout master branch back? If nothing changes, why make is complaining?
Saulius Krasuckas wrote:
- On Wed, 31 May 2006, Marcus Meissner wrote:
- On Wed, May 31, 2006 at 12:55:02PM +0300, Saulius Krasuckas wrote:
$ git rebase master ugly_hack
...
$ git checkout master $ make Makefile is older than Makefile.in configure, please rerun ./configure make: *** [Makefile] Error 1
...
I thought git would reset all the file timestamps once I switch to another (master) branch... Am I wrong?
"Makefile" is not in git, so you need to run ./configure anyway?
Well, yes, but what is changed in the tree after I checkout master branch back? If nothing changes, why make is complaining?
Does configure change between your two branches? That would explain it.
bye michael