]> git.sesse.net Git - x264/blobdiff - version.sh
Optimize predict_8x8_filter and incidentally remove a valgrind false-positive
[x264] / version.sh
index b7772095bd58b32bd61f86a58129c0ad627d60b2..7f06c7c5f4f7b3205b6460581d5723d23c7514d9 100755 (executable)
@@ -5,7 +5,8 @@ if [ $LOCALVER \> 1 ] ; then
     VER=`git rev-list origin/master | sort | join config.git-hash - | wc -l | awk '{print $1}'`
     if [ $VER != $LOCALVER ] ; then
         VER="$VER+$(($LOCALVER-$VER))"
-    elif git status | grep -q "modified:" ; then
+    fi
+    if git status | grep -q "modified:" ; then
         VER="${VER}M"
     fi
     VER="$VER $(git rev-list HEAD -n 1 | cut -c 1-7)"