[x264-devel] [PATCH] Hack for svnversion equivalent on git
Jason Martens
cacepi at gmail.com
Sun Mar 9 19:36:28 CET 2008
On Mar 9, 2008, at 9:48 AM, Loren Merritt wrote:
> How about this script?
Only one small problem; Mac OS X and the BSDs don't use the GNU
coreutils so they don't strip out whitespace:
#define X264_VERSION " r 748M 397d1bf"
#define X264_POINTVER "0.58. 748M 397d1bf"
VER=`git-rev-list origin/master | sort | join config.git-hash - | wc |
awk '{print $1}'`
Other than that, I like it.
--
Cheers,
Jason Martens
cacepi at gmail.com
More information about the x264-devel
mailing list