diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2011-12-19 17:31:46 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2011-12-19 18:19:49 +0000 |
commit | ea473f13a92a045843bc9bd2fe7661916628e1ce (patch) | |
tree | e2863e1768a0bfdaa6a652ae73075d88543e4221 /alot | |
parent | 621599f8e29a7b3710e00444f1eb7ae14850788a (diff) |
fix git describe syntax in versioning script
issue #165
Diffstat (limited to 'alot')
-rw-r--r-- | alot/version.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/version.py b/alot/version.py index e5dc8cb5..cced6864 100644 --- a/alot/version.py +++ b/alot/version.py @@ -49,7 +49,7 @@ except ImportError: def call_git_describe(abbrev=4): try: - p = Popen(['git', 'describe', '--abbrev=%d' % abbrev], + p = Popen(['git', 'describe', '--abbrev=%d' % abbrev, 'HEAD'], stdout=PIPE, stderr=PIPE) p.stderr.close() line = p.stdout.readlines()[0] |