Skip to content

Commit 4774bb1

Browse files
jacmetsravnborg
authored andcommitted
kbuild: use git svn instead of git-svn in setlocalversion
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>
1 parent 612c280 commit 4774bb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/setlocalversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if head=`git rev-parse --verify --short HEAD 2>/dev/null`; then
2121

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

2727
# Are there uncommitted changes?

0 commit comments

Comments
 (0)