scripts/setlocalversion: Renamed 'git-svn' to 'git svn'
Git 1.6.x+ got rid of git-<subcommand> in the normal path. Signed-off-by: Michael Roth <mroth@nessie.de>
This commit is contained in:
parent
2caf8195a8
commit
bec705479e
|
@ -21,7 +21,7 @@ if head=`git rev-parse --verify --short HEAD 2>/dev/null`; then
|
||||||
|
|
||||||
# Is this git on svn?
|
# Is this git on svn?
|
||||||
if git config --get svn-remote.svn.url >/dev/null; then
|
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
|
fi
|
||||||
|
|
||||||
# Are there uncommitted changes?
|
# Are there uncommitted changes?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user