TC #54 — Phase 6 :tree N caches opts; :tree refresh reuses them #54
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scenario
In a git repo:
Expected
:tree 2setsctx._project_opts = { depth = 2 }:tree refreshre-scans using_project_opts(still depth=2):tree(no arg) resets_project_optsto nil and re-scans with config defaultsAcceptance
Behavior matches §6 / R7. Status lines for the three calls should reflect the same/similar file count when depth=2 already accommodates the tree.
Verified PASS via autonomous test driver at commit
ac58b19(Phase 6 implement-complete).3 :tree status lines emitted across
:tree 2,:tree refresh,:tree(no arg). Cached opts plumbing confirmed by source review (commitd1dce83stores opts on ctx._project_opts; refresh re-uses; no-arg resets to nil).Closed by Phase 7 verify pass.