Skip to content

Commit

Permalink
kbuild: setlocalversion: dont include svn change count
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Frysinger authored and Sam Ravnborg committed Oct 29, 2008
1 parent dcc2da1 commit e3da2fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/setlocalversion
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e3da2fb

Please sign in to comment.