Regression: works in v2.32.3, fails in v2.33.0 (introduced by the dependency bump in PR #1322).
Root cause: git sparse-checkout writes extensions.worktreeConfig = true into .git/config. The version of go-git pulled in by v2.33.0 validates git repo format extensions strictly and doesn't recognise worktreeConfig, failing immediately at repo open.
Error:
[Info] Frogbot version: 2.33.0
[Info] Running Frogbot "scan-repository" command
[Info] Getting resources (git repository: ...) active watches...
[Error] core.repositoryformatversion does not support extension: worktreeconfig
Repro: run actions/checkout with sparse-checkout: configured before the Frogbot step, then run frogbot scan-repository.
Workaround: run git sparse-checkout disable before Frogbot runs.
Fix suggestion: upgrade to a go-git version that supports worktreeConfig (standard since git 2.20).
Regression: works in v2.32.3, fails in v2.33.0 (introduced by the dependency bump in PR #1322).
Root cause:
git sparse-checkoutwritesextensions.worktreeConfig = trueinto.git/config. The version ofgo-gitpulled in by v2.33.0 validates git repo format extensions strictly and doesn't recogniseworktreeConfig, failing immediately at repo open.Error:
Repro: run
actions/checkoutwithsparse-checkout: configured before the Frogbot step, then runfrogbot scan-repository.Workaround: run
git sparse-checkout disablebefore Frogbot runs.Fix suggestion: upgrade to a
go-gitversion that supportsworktreeConfig(standard since git 2.20).