浏览代码

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>
Peter Korsgaard 16 年之前
父节点
当前提交
bec705479e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/setlocalversion

+ 1 - 1
scripts/setlocalversion

@@ -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?