From 45b7cd6b054c4f73bd4c35261bb2b395db7980a6 Mon Sep 17 00:00:00 2001 From: theuni Date: Sat, 5 Mar 2011 23:52:13 -0500 Subject: changed: prepend version string with "date-" This is the date of the last revision and _not_ the compile date. Should help with sorting as well as eyeballing versions. In addition, the Windows binary has been renamed from XBMCSetup-Rev_[revision] to XBMCSetup-[date-revision]. Thanks to CrystalP and jcarroll for the Windows help. --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 40708f3c4a..dafc7042d2 100644 --- a/configure.in +++ b/configure.in @@ -1281,7 +1281,7 @@ else fi if test "$HAVE_GIT" = "yes"; then - GIT_REV=$(git rev-parse --short HEAD) + GIT_REV=$(git --no-pager log --abbrev=7 -1 --pretty=format:"%h %ci" HEAD | awk '{gsub("-", "");print $2"-"$1}') fi if test "$GIT_REV" = ""; then GIT_REV="Unknown" -- cgit v1.2.3