Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Internal ChangesKind: in v2.1.280,
Internal ChangesSection of the release
What
When registering a working directory fails (for example, for multi-repo or worktree features), the check now returns a code field, either is_cwd or already_registered, in addition to the existing human-readable reason text. Similarly, the helper that verifies a path is actually a directory now returns a code field (such as not_directory) alongside its human-readable reason when the check fails.
Why
A machine-readable code lets calling code branch on the specific failure reason programmatically, instead of having to parse or match against the human-readable text.