You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
WorktreesArea: what it touches
ImprovementsKind: in v2.1.248,
ImprovementsSection of the release
What
The check for whether a worktree holds commits that exist nowhere else can now treat the main checkout as proof they are safe. If the branch's upstream points at the main worktree's current position, a second check against that position can declare the tree clean, avoiding a false "you have unpushed work" warning.
Details
Enabled by an option passed by the caller; the source here does not show its default.
A new helper confirms the repository is not bare and that the main checkout's HEAD reference matches before the vouch is accepted.
Evidence
{ primaryCheckoutVouches: r }
Strings lifted out of the shipped bundle, so the claim above can be checked against them.