Development record
gitutil.CheckoutRoot's refusal for a repo-shaped tree git will not answer for names three causes (git absent from PATH, the repository unreadable, its ownership refused) and omits the fourth that Toplevel's shape check refuses: a core.worktree setting whose working tree does not contain the working directory. A person in that checkout is offered three causes, none of which is theirs.
issueresolvedminoriss-2609260057112155
gitutil.CheckoutRoot's refusal for a repo-shaped tree git will not answer for names three causes (git absent from PATH, the repository unreadable, its ownership refused) and omits the fourth that Toplevel's shape check refuses: a core.worktree setting whose working tree does not contain the working directory. A person in that checkout is offered three causes, none of which is theirs.
Grounds
- pursued: every cause Toplevel can refuse on is named; TestCheckoutRootRefusalNamesAWorktreeSettingPointingElsewhere drives real git with core.worktree set and would fail if the cause were dropped
Frontmatter
| id | iss-2609260057112155 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2609260057112155-gitutil-checkoutroot-s-refusal-for-a.md
open on GitHub ↗ · commit history ↗