projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2caf819
)
scripts/setlocalversion: Renamed 'git-svn' to 'git svn'
author
Peter Korsgaard
<jacmet@sunsite.dk>
Thu, 26 Mar 2009 20:47:38 +0000
(20:47 -0000)
committer
Peter Korsgaard
<jacmet@sunsite.dk>
Thu, 26 Mar 2009 20:47:38 +0000
(20:47 -0000)
Git 1.6.x+ got rid of git-<subcommand> in the normal path.
Signed-off-by: Michael Roth <mroth@nessie.de>
scripts/setlocalversion
patch
|
blob
|
history
diff --git
a/scripts/setlocalversion
b/scripts/setlocalversion
index f6946cf99ce1bd0a06f9835157f39d4b2b80e971..cc2c128f0abc89100f4a090e3599eaf1c94a6b5c 100755
(executable)
--- a/
scripts/setlocalversion
+++ b/
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?