fix(env): unset cached env vars before reload and guard commit test against dirty worktree

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
kevinveenbirkenbachandClaude Sonnet 4.6 committed 2026-04-09 02:08:39 +02:00
1 parent 434aa81ee2
commit e84bb3fe06
5 files changed
+52

No files matched your search

+2
View File
@@ -5,6 +5,8 @@ set -euo pipefail
if [[ -n "${VENV:-}" && -x "${VENV}/bin/python" && "${PYTHON:-}" != "${VENV}/bin/python" ]]; then
unset INFINITO_ENV_LOADED
unset INFINITO_ENV_PYTHON_LOADED
unset PYTHON
unset PIP
# shellcheck source=scripts/meta/env/all.sh
source "${ENV_SH:-scripts/meta/env/all.sh}"
fi