summaryrefslogtreecommitdiffstats
path: root/version.py
diff options
context:
space:
mode:
Diffstat (limited to 'version.py')
-rw-r--r--version.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/version.py b/version.py
index a4c7ed6..498ce51 100644
--- a/version.py
+++ b/version.py
@@ -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]