mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-12-06 02:09:04 +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
|
# 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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user