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

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