This is an automated email from the git hooks/post-receive script.

uecker-guest pushed a commit to annotated tag v0.2.09d
in repository bart.

commit ccf350d1fbe9fc26bf2b6781447a6a71f9911f02
Author: Martin Uecker <muec...@gwdg.de>
Date:   Sun Dec 6 17:39:07 2015 +0100

    make git-version.sh more robust
---
 git-version.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/git-version.sh b/git-version.sh
index f23ce7b..db6693f 100755
--- a/git-version.sh
+++ b/git-version.sh
@@ -2,8 +2,8 @@
 
 if test -d ${GIT_DIR:-.git} -o -f .git
 then
-       git describe --dirty
-       git describe | cut -f1 -d'-' > version.txt
+       git describe --match "v*" --dirty
+       git describe --match "v*" | cut -f1 -d'-' > version.txt
 else
        cat version.txt
 fi

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/debian-med/bart.git

_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to