X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/4f8948b8f67d26726a2e53c9afe1a110c037ce4b..24e97d18003e65787648061db7c23f0882f98d1a:/setlocalversion?ds=inline diff --git a/setlocalversion b/setlocalversion index 221f868..30ad27c 100755 --- a/setlocalversion +++ b/setlocalversion @@ -14,7 +14,7 @@ compute_version() head=$(git rev-parse --verify --short HEAD) printf "~git-%s" "$head" # Check for uncommitted changes - if git diff-index --name-only HEAD | read dummy; then + if git diff --name-only HEAD | read dummy; then printf '%s' "-dirty" fi