icm
icm copied to clipboard
Worktree fixture tests fail with a global commit.gpgsign
project_from_path_uses_main_repo_name_for_worktree (icm-core) and project_from_cwd_json_resolves_worktree_to_main_repo (icm-cli) fail on a machine with commit.gpgsign = true in the global git config and no key usable in the test env:
left: Some("w1")
right: Some("mainproject")
The fixtures ignore git's exit status, so the init commit fails silently, worktree add fails after it, and the test reads the worktree basename. A global core.hooksPath would also run the user's own hooks on the fixture commit.