Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use git-describe in bootstrap

``git describe --always`` is superior to ``git log`` in this case. It
generates a more useful version tag. For example, it allows a developer
building packages from the source tree to track and package unreleased
changes in a way that makes sense to package managers.

Using the --always flag reverts to the old behavior when no git tag is
resolvable from the current HEAD.
  • Loading branch information...
commit 0706a84b84a2ca094c749af59642ae06bd0f6830 1 parent 88e3d1a
@tilgovi tilgovi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bootstrap
View
2  bootstrap
@@ -33,7 +33,7 @@ mkdir -p build-aux
if test -z "$REVISION"; then
if test -d .git; then
- REVISION=`git log --pretty="format:%h" | head -1`-git
+ REVISION=`git describe --always`-git
else
# default to svn
REVISION=`\`which svn\` info . 2> /dev/null | awk "/Revision:/{print \\$2}"`
Please sign in to comment.
Something went wrong with that request. Please try again.