[FFmpeg-devel] [PATCH] Use git describe in version.sh

Ramiro Polla ramiro.polla
Wed Dec 15 03:45:18 CET 2010


Attached patch makes version.sh use git describe for version string.
Currently it will give the same result, since we have no tags in the
git tree.

And this brings another issue: I'd like for FFmpeg to still have some
sort of monotonically increasing revision number when we switch to
git. If we add tags to the tree, we'll get better version strings like
"versionX-3-g9c2d982", where versionX is the tag name, 3 is the number
of commits since the tag, and g9c2d982 the short git hash. We have to
decide on what to tag though, since the releases are tagged after

Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: version_sh_git_describe.diff
Type: application/octet-stream
Size: 408 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101215/5cd6d064/attachment.obj>

More information about the ffmpeg-devel mailing list