Fix: Use 'git status -s' to check for untracked/modified files

This commit is contained in:
Andreas Möller 2019-11-27 11:22:21 +01:00
parent fb3de05451
commit b1b8ae8b5c
No known key found for this signature in database
GPG Key ID: 9FB20A0BAF60E11F

View File

@ -21,7 +21,7 @@ EOF
# This section only runs if there have been file changes # This section only runs if there have been file changes
echo "Checking for uncommitted changes in the git working tree." echo "Checking for uncommitted changes in the git working tree."
if ! git diff --quiet if [[ -n "$(git status -s)" ]]
then then
git_setup git_setup