diff --git a/scripts/setlocalversion b/scripts/setlocalversion index 1b31da843672ab43adcfbca270f673f34a63258d..acce8ebc5d405931343638d8747d05231ec97535 100644 --- a/scripts/setlocalversion +++ b/scripts/setlocalversion @@ -16,6 +16,7 @@ if head=`git rev-parse --verify HEAD 2>/dev/null`; then fi # Are there uncommitted changes? + git update-index --refresh --unmerged > /dev/null if git diff-index HEAD | read dummy; then printf '%s' -dirty fi