git-version-gen: Avoid further processing when tarball-version is present
authorRoss Burton <ross@burtonini.com>
Tue, 20 Oct 2015 14:55:23 +0000 (16:55 +0200)
committerDavid Henningsson <david.henningsson@canonical.com>
Tue, 20 Oct 2015 14:55:23 +0000 (16:55 +0200)
commitc25b06577c2cc251c541732f245117c913206916
treee2cf0eff1436f934e22b4211bc456a320f31beea
parentf277f2c5094fb32c5d879923960eb807b3b1c535
git-version-gen: Avoid further processing when tarball-version is present

In case a tarball-version file is present, use that and quit.

Otherwise git will continue looking for directories, potentially
finding .git directories which are dirty and mark the version as such.

BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=90936
git-version-gen