setlocalversion: don't include svn change count
PATCH 13/13 setlocalversion: don't include svn change count
From: Mike Frysinger <[email protected]>
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 <[email protected]>
Cc Sam Ravnborg <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
scripts/setlocalversion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/setlocalversion renamed from scripts/setlocalversion~setlocalversion-dont-include-svn-change-count +1 -1
@@ -55,7 +55,7 @@ if rev=`svn info 2>/dev/null | grep '^Re # 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
_