diff --git a/entrypoint.sh b/entrypoint.sh index 1fe4d4d..f51521a 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -33,7 +33,7 @@ _switch_to_repository() { } _git_is_dirty() { - [ -n "$(git status -s)" ] + [ -n "$(git status -s -- $INPUT_FILE_PATTERN)" ] } _switch_to_branch() {