Merge pull request #19 from localheinz/fix/untracked

Fix: Use 'git status -s' to check for untracked/modified files
This commit is contained in:
Stefan Zweifel 2019-11-27 20:03:09 +01:00 committed by GitHub
commit 2b22ba6212
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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