X-Git-Url: https://git.openafs.org/?p=openafs.git;a=blobdiff_plain;f=build-tools%2Fgit-version;h=ff55b4a403420cbe7792f6498c3073d1aee3d3a0;hp=6bc9a50c1bbf9f450abf653f7c854c770700e51b;hb=c0f52c3a3d76059c9d8b2df3374df844d8d6861b;hpb=417d2c8f9585c5e3ce17512a1ae8ca596a676c03 diff --git a/build-tools/git-version b/build-tools/git-version index 6bc9a50..ff55b4a 100755 --- a/build-tools/git-version +++ b/build-tools/git-version @@ -15,8 +15,8 @@ else git_version=`git describe --abbrev=4 HEAD 2>/dev/null` if [ $? = 0 ]; then # Is the working tree dirty? - if git diff-index --quiet --cached HEAD --ignore-submodules && \ - git diff-files --quiet --ignore-submodules ; then + if git diff-index --quiet --cached HEAD && \ + git diff-files --quiet ; then : else git_version="$git_version-dirty"