Commit b81ff606 authored by alexc's avatar alexc

Check if a git-svn revision number is available to try to get better version

information from git.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20015 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fdf622de
......@@ -10,6 +10,12 @@ q
}' .svn/entries 2>/dev/null)
test $revision && revision=SVN-r$revision
# check for git svn revision number
if ! test $revision; then
revision=$(cd "$1" && git svn find-rev HEAD)
test $revision && revision=git-svn-r$revision
fi
# check for git short hash
if ! test $revision; then
revision=$(cd "$1" && git log -1 --pretty=format:%h)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment