diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-03-26 16:58:04 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-04-11 02:18:08 -0400 |
commit | 4774bb1ced60a94d83b28e5a42d4cf01b83d9b60 (patch) | |
tree | 283a6f98d80c3b366e8bd63afbe290ce3c253087 | |
parent | 612c280ef2400c70ea2fd8f2e17549c95002368c (diff) |
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>
-rwxr-xr-x | scripts/setlocalversion | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/setlocalversion b/scripts/setlocalversion index f1c4b35bc324..47e75b69a2e9 100755 --- a/scripts/setlocalversion +++ b/scripts/setlocalversion | |||
@@ -21,7 +21,7 @@ if head=`git rev-parse --verify --short HEAD 2>/dev/null`; then | |||
21 | 21 | ||
22 | # Is this git on svn? | 22 | # Is this git on svn? |
23 | if git config --get svn-remote.svn.url >/dev/null; then | 23 | 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`" |
25 | fi | 25 | fi |
26 | 26 | ||
27 | # Are there uncommitted changes? | 27 | # Are there uncommitted changes? |