Repository navigation
v0.1.41
Section grading catches conflicts it read as clear for a window behind base and for a repo with no base branch; wt check and pre-push say when no base branch resolves.
- #252 (#247): a window behind base is read in base's copy too. When base renamed, added or removed a heading after a window forked, that window's edits were read only under the headings it forked with, so editing the same lines as a current window could grade as another section (advisory) while git conflicts. Its edits are now also moved into base's line numbers, as the hunk grade moves them, and read under base's headings, in
wt check, pre-push and both edit hooks.- A base copy, listing or diff that can't be read, or a base entry that is no regular file (a symlink, a directory), grades every section edited, never fewer.
- No base branch (neither
origin/<base>nor<base>resolves):- The section grade reads one diff from HEAD, so an uncommitted deletion of the section another window edits is HIGH, as git would conflict. A HEAD git can't read (a branch holding a missing object, a tree or garbage, or a bad symref) grades every section; a branch with no commits yet keeps the uncommitted-only reading.
- Committed changes have no frame to compare in.
wt check(text and--blocking, on stderr) and pre-push (once per push) say so instead of a bare clear, andwt check --jsonand MCPwt_checkcarrybase_unresolved: true. Setbasein.wt.confto the branch windows start from.
- Known: a window whose
git statusfails still reads as "(no changes)" and every path as clear of it (#253).