Merge pull request #19 from localheinz/fix/untracked
Fix: Use 'git status -s' to check for untracked/modified files
This commit is contained in:
commit
2b22ba6212
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user