diff options
-rw-r--r-- | version.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -21,7 +21,8 @@ OWN_DIR = os.path.dirname(os.path.abspath(os.path.realpath(__file__))) def call_git_describe(abbrev=4): try: - p = Popen(['git', 'describe', '--abbrev=%d' % abbrev, '--tags'], + p = Popen(['git', 'describe', '--abbrev=%d' % abbrev, + '--tags', '--dirty'], cwd=OWN_DIR, stdout=PIPE, stderr=PIPE) p.stderr.close() line = p.stdout.readlines()[0] |