Development record
The foreign-owner refusal note decides whether the working directory's .abcd is read with os.Stat, which follows a symlinked cwd/.abcd, while readRepoLayer Lstat-refuses a symlinked .abcd; in that edge the note tells the user the working directory's configuration IS read when the loader refuses it. Use Lstat plus IsDir so the note and the loader agree.
issueresolvednitpickiss-2609261753290536
The foreign-owner refusal note decides whether the working directory's .abcd is read with os.Stat, which follows a symlinked cwd/.abcd, while readRepoLayer Lstat-refuses a symlinked .abcd; in that edge the note tells the user the working directory's configuration IS read when the loader refuses it. Use Lstat plus IsDir so the note and the loader agree.
Grounds
- pursued: a refused root with a symlinked .abcd at the working directory gets a note saying NOT read, pinned by TestResolveRootRefusalNeverSaysASymlinkedAbcdIsRead; a note saying IS read for a .abcd that Load refuses would show it wrong
Frontmatter
| id | iss-2609261753290536 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | nitpick |
.abcd/work/issues/resolved/iss-2609261753290536-the-foreign-owner-refusal-note-decides.md
open on GitHub ↗ · commit history ↗