diff options
-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] |