History

kbuild: use git svn instead of git-svn in setlocalversion

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

Peter Korsgaard committed 17 years ago

Commit 4774bb11 parent 612c2801 file · +1 −1Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/setlocalversion+1−1
@@ -21,7 +21,7 @@ if head=`git rev-parse --verify --short HEAD 2>/dev/null`; then · 20 unmodified lines
21 21
22 # Is this git on svn?22 # Is this git on svn?
23 if git config --get svn-remote.svn.url >/dev/null; then23 if git config --get svn-remote.svn.url >/dev/null; then
24 printf -- '-svn%s' "`git-svn find-rev $head`"24 printf -- '-svn%s' "`git svn find-rev $head`"
25 fi25 fi
26 26
27 # Are there uncommitted changes?27 # Are there uncommitted changes?

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t