id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
3153	"""make"" after a local ""git commit"" reconfigures everything"	egmont		"Check out the git version, compile it.

Do some changes, run ""make"". It finishes in a couple of seconds, as expected.

Do a local ""git commit"" to save the changes.

Type ""make"" again.

Expected behavior: shouldn't take more than 1-2 seconds to compile. (It's okay to recompile one or two object files and to relink, since mc knows its own git version.)

Actual behavior: it reconfigures and recompiles everything, taking 1m20s on my machine. Of this, approx 30s is the configure, and 50s is the make. By the way, I do have ccache installed, if I do a ""make; make clean; time make"" then the last step finishes in about 30s. So for whatever reason something important changes in some file that's included everywhere, causing tons of ccache misses.

The beginning of make's output after a git commit:
{{{
make  all-recursive
make[1]: Entering directory `/home/egmont/mc'
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash ./configure --prefix=/tmp/MC --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
}}}"	defect	closed	minor		mc-core	master	duplicate					no branch	
