kbuild: whitelist logo references from .text to .init.data
[linux-2.6.git] / scripts / setlocalversion
index b7bc0f5..82e4993 100644 (file)
@@ -16,7 +16,7 @@ if head=`git rev-parse --verify HEAD 2>/dev/null`; then
        fi
 
        # Are there uncommitted changes?
-       if git diff-files | read dummy; then
+       if git diff-index HEAD | read dummy; then
                printf '%s' -dirty
        fi
 fi