icm icon indicating copy to clipboard operation
icm copied to clipboard

Worktree fixture tests fail with a global commit.gpgsign

Open phaedrus1992 opened this issue 1 month ago • 0 comments

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.

phaedrus1992 avatar Oct 29 '26 17:10 phaedrus1992