Skip to content

Commit

Permalink
kbuild: use git svn instead of git-svn in setlocalversion
Browse files Browse the repository at this point in the history
Use the correct git <subcmd> syntax instead of the deprecated git-<subcmd>.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
  • Loading branch information
Peter Korsgaard authored and Sam Ravnborg committed Apr 11, 2009
1 parent 612c280 commit 4774bb1
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 @@ -21,7 +21,7 @@ if head=`git rev-parse --verify --short HEAD 2>/dev/null`; then

# Is this git on svn?
if git config --get svn-remote.svn.url >/dev/null; then
printf -- '-svn%s' "`git-svn find-rev $head`"
printf -- '-svn%s' "`git svn find-rev $head`"
fi

# Are there uncommitted changes?
Expand Down

0 comments on commit 4774bb1

Please sign in to comment.