From d25095bab3d66759c06bd43407ba778b2ee127cc Mon Sep 17 00:00:00 2001 From: elpatron Date: Sun, 31 May 2026 13:22:52 +0200 Subject: [PATCH] fix: Fehlalarm bei sauberem Working Tree in update-prod.sh vermeiden MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Die Clean-Tree-Prüfung verlässt sich nur noch auf git status --porcelain, da git diff-index nach git reset fälschlich Änderungen melden kann. Co-authored-by: Cursor --- scripts/update-prod.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update-prod.sh b/scripts/update-prod.sh index 98a2957..f9837b5 100755 --- a/scripts/update-prod.sh +++ b/scripts/update-prod.sh @@ -59,7 +59,7 @@ bump_patch_version() { } ensure_clean_git_tree() { - if git diff-index --quiet HEAD -- && [ -z "$(git status --porcelain)" ]; then + if [ -z "$(git status --porcelain)" ]; then return 0 fi