Skip to contentSkip to conversation

setlocalversion: use git svn instead of git-svn

PATCH New Peter Korsgaard 1 participant 1 message Mar 26, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 setlocalversion: use git svn instead of git-svn

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

---
 scripts/setlocalversion |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
scripts/setlocalversion +1 -1
index f1c4b35..47e75b6 100755
@@ -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?
Signature · 1 line
1.6.2