Dwayne Litzenberger added the comment: "git describe --tags --always" will return a bare commit id if there is no previous tag. This is pretty common to have when you're working on a new package that hasn't been released yet:
$ git init Initialized empty Git repository in /tmp/repo/.git/ $ touch foo $ git add foo $ git commit -m 'Initial commit' [master (root-commit) cd7dd74] Initial commit 0 files changed create mode 100644 foo $ git describe --tags --always cd7dd74 $ git tag v1.0 $ git describe --tags --always v1.0 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14894> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com