From b1b8ae8b5c853a3b3b3cf61e84d5abad609afa56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Wed, 27 Nov 2019 11:22:21 +0100 Subject: [PATCH] Fix: Use 'git status -s' to check for untracked/modified files --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 50526fb..3cd73ed 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -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