mirror of
https://github.com/openai/codex.git
synced 2026-11-13 06:45:07 +00:00
Add worktree settings parser (#40624)
## What changed - Add the `codex-worktree` crate for resolving managed worktree settings from the existing `[desktop]` configuration. - Default the worktree root to `$CODEX_HOME/worktrees`, automatic cleanup to enabled, and retained worktrees to 15. - Validate configured roots, cleanup flags, and retention counts before exposing the effective settings. ## Testing - Cover defaults, configured values, and invalid root and retention settings. GitOrigin-RevId: 1b279c62ef41e3c8eb540ce9beaf0f6cd96d903f
This commit is contained in:
1 parent
4b81410a80
commit
f832b2fe7b
7 files changed
+202
No files matched your search
@@ -0,0 +1,6 @@
|
||||
load("//:defs.bzl", "codex_rust_crate")
|
||||
|
||||
codex_rust_crate(
|
||||
name = "worktree",
|
||||
crate_name = "codex_worktree",
|
||||
)
|
||||
Reference in new issue
Block a user