[U-Boot] [PATCH] tools/setlocalversion: use git svn instead of git-svn

Peter Korsgaard jacmet at sunsite.dk
Tue Mar 31 17:52:16 CEST 2009


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

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 tools/setlocalversion |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/setlocalversion b/tools/setlocalversion
index bbb2ab2..b3f5f28 100755
--- a/tools/setlocalversion
+++ b/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
 
-- 
1.6.2



More information about the U-Boot mailing list