mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-11-06 02:08:05 +00:00
Fix: Use 'git status -s' to check for untracked/modified files
This commit is contained in:
parent
fb3de05451
commit
b1b8ae8b5c
@ -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