[FFmpeg-cvslog] Provide monotone revission numbers in version.sh

Michael Niedermayer git
Tue Feb 1 12:23:25 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Feb  1 12:19:49 2011 +0100| [40222b926b6d2f7d08aeeff756de3ade36121396] | committer: Michael Niedermayer

Provide monotone revission numbers in version.sh

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=40222b926b6d2f7d08aeeff756de3ade36121396
---

 version.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/version.sh b/version.sh
index 3269e03..d1cf15d 100755
--- a/version.sh
+++ b/version.sh
@@ -18,7 +18,7 @@ fi
 
 # check for git short hash
 if ! test "$revision"; then
-    revision=$(cd "$1" && git describe --always 2> /dev/null)
+    revision=$(cd "$1" && git describe --tags --match N 2> /dev/null)
     test "$revision" && revision=git-$revision
 fi
 




More information about the ffmpeg-cvslog mailing list