소스 검색

tools/setlocalversion: use git svn instead of git-svn

Use the new "git <subcmd>" syntax instead of the deprecated
"git-<subcmd>".

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Peter Korsgaard 16 년 전
부모
커밋
6b6bb02f27
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tools/setlocalversion

+ 1 - 1
tools/setlocalversion

@@ -25,7 +25,7 @@ if head=`git rev-parse --verify 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
 fi