OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
612c280
)
kbuild: use git svn instead of git-svn in setlocalversion
author
Peter Korsgaard
<jacmet@sunsite.dk>
Thu, 26 Mar 2009 20:58:04 +0000
(21:58 +0100)
committer
Sam Ravnborg
<sam@ravnborg.org>
Sat, 11 Apr 2009 06:18:08 +0000
(08:18 +0200)
Use the correct git <subcmd> syntax instead of the deprecated git-<subcmd>.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/setlocalversion
patch
|
blob
|
history
diff --git
a/scripts/setlocalversion
b/scripts/setlocalversion
index
f1c4b35
..
47e75b6
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?