diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/setlocalversion | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/setlocalversion b/scripts/setlocalversion index 1b31da843672..acce8ebc5d40 100644 --- a/scripts/setlocalversion +++ b/scripts/setlocalversion | |||
@@ -16,6 +16,7 @@ if head=`git rev-parse --verify HEAD 2>/dev/null`; then | |||
16 | fi | 16 | fi |
17 | 17 | ||
18 | # Are there uncommitted changes? | 18 | # Are there uncommitted changes? |
19 | git update-index --refresh --unmerged > /dev/null | ||
19 | if git diff-index HEAD | read dummy; then | 20 | if git diff-index HEAD | read dummy; then |
20 | printf '%s' -dirty | 21 | printf '%s' -dirty |
21 | fi | 22 | fi |