Commit 8032d1de authored by Ramiro Polla's avatar Ramiro Polla Committed by Janne Grunau

use git describe for naming version in pure git clones

Patch by: Ramiro Polla <ramiro <DOT> polla  gmail <DOT> com>

Originally committed as revision 26394 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent adb8669c
......@@ -18,7 +18,7 @@ fi
# check for git short hash
if ! test $revision; then
revision=$(cd "$1" && git log -1 --pretty=format:%h 2> /dev/null)
revision=$(cd "$1" && git describe --always 2> /dev/null)
test $revision && revision=git-$revision
fi
......
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