From: Theodore Ts'o Date: Sat, 3 Nov 2007 01:53:00 +0000 (-0400) Subject: kbuild: fix scripts/setlocalversion to avoid erroneous -dirty tag X-Git-Tag: v2.6.25-rc1~1164^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e7434ff028c4280bed620f28fdbf9f4d77d77ce;p=pandora-kernel.git kbuild: fix scripts/setlocalversion to avoid erroneous -dirty tag If git's index file is out of date, and some files have been touched such that their timestamp doesn't what is in the index, "git diff-index HEAD" may show that a particular file is dirty, when in fact it really isn't. Running "git update-index" will update the index to avoid these false positives. Signed-off-by: "Theodore Ts'o" Signed-off-by: Sam Ravnborg --- Reading git-diff-tree failed