mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-05 09:27:43 +00:00
scripts/setlocalversion: update deprecated git-<command> usage
Git is moving away from the git-<command> to git <command> git-svn -> git svn
This commit is contained in:
parent
cd7245fc11
commit
1d6fd2d387
@ -17,7 +17,7 @@ if head=`git rev-parse --verify HEAD 2>/dev/null`; then
|
|||||||
|
|
||||||
# Is this git on svn?
|
# Is this git on svn?
|
||||||
if git config --get svn-remote.svn.url >/dev/null; then
|
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
|
||||||
|
|
||||||
# Are there uncommitted changes?
|
# Are there uncommitted changes?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user