summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/getversion.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/getversion.sh b/scripts/getversion.sh
index b6f2bd4c..d505579f 100755
--- a/scripts/getversion.sh
+++ b/scripts/getversion.sh
@@ -21,8 +21,6 @@ if ghash=$(git rev-parse --short --verify HEAD 2>/dev/null); then
fi
# avoid putting the -dirty attribute if only the timestamp
# changed
- git status > /dev/null 2>&1
-
dirty=$(sh -c "[ '$(git diff-index --name-only HEAD)' ] \
&& echo '-dirty'")
ver="${ver_major}.${ver_branch}.${numcommits}-${ghash}${dirty}"