kbuild: setlocalversion: dont include svn change count
authorMike Frysinger <vapier@gentoo.org>
Sat, 25 Oct 2008 21:43:50 +0000 (17:43 -0400)
committerSam Ravnborg <sam@ravnborg.org>
Wed, 29 Oct 2008 21:02:07 +0000 (22:02 +0100)
The number of pending changes is pretty useless, so encoding it into the
version is just annoying by the constant shuffle in corresponding modules.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/setlocalversion

index 83b7512..453faff 100755 (executable)
@@ -55,7 +55,7 @@ if rev=`svn info 2>/dev/null | grep '^Revision'`; then
 
        # Are there uncommitted changes?
        if [ $changes != 0 ]; then
-               printf -- '-svn%s%s%s' "$rev" -dirty "$changes"
+               printf -- '-svn%s%s' "$rev" -dirty
        else
                printf -- '-svn%s' "$rev"
        fi