Files
codex/codex-rs/config
Eric Traut e1ecb5c8fc Fix linked worktree hook loading when the root .codex is a file (#63088)
## Why

When `.codex` in the root checkout is a regular file, reading
`.codex/config.toml` returns `NotADirectory`. That error aborts project
configuration loading for the linked worktree.

## What changed

Treat `NotADirectory` like a missing config when reading project hook
configuration from the root checkout.

## Testing

Cover a linked worktree that keeps its local project settings and inherits
hooks from the matching subdirectory in the root checkout even when the
root checkout's top-level `.codex` is a file.

GitOrigin-RevId: 2cb7fcb340ce85253641c016dace5177096ba205
2026-11-22 07:01:32 +00:00
..