Skip to content

v1.2.1

Choose a tag to compare

@thomasbachem thomasbachem released this 22 Sep 12:04
· 205 commits to main since this release

Two silences the output used to keep: a verification gate that was skipped, and a branch left behind in a rewritten span that another worktree has checked out.

--no-verify now says what it skipped:

Verify skipped – --no-verify was passed, so `npm test` never ran
git-edit: ok – refs/heads/main moved 79247e47 → 3ccbcab2

Before this, that run and a run in a repo with no edit.verifyCmd at all produced byte-identical output – both printed the trailer and nothing else – so a reader could not tell a gate that was bypassed from a gate that never existed. Silence now means only the second. It matters most on --no-verify --continue, the documented way to apply a result the gate rejected: that run names the check it overrode, taken from what the pause recorded rather than from the config.

The line joins the gate's own family, so one grep -E '^(Verif|git-edit:)' still answers what landed and what checked it – three characters wider than before, and it picks up the per-commit skip note as well.

A branch that points into a rewritten span is named at the landing so it can follow the rewrite. One checked out in another worktree was skipped without a word, though it sits on pre-rewrite history exactly the same way – and that is the case where somebody may be working in it right now. It is now named with its counterpart, and deliberately without a command:

Branch feature points into the rewritten span, checked out in /path/to/wt – that checkout's to move:
  its counterpart here is 4dabdbdff249  # same change: Commit B

Moving a branch someone else has checked out belongs to that checkout, over whatever work is sitting in it.

Both are additions to what a run reports – nothing changed about what lands, or about when a run refuses – which is what the patch version says.

brew install thomasbachem/tap/git-edit

Or brew upgrade git-edit where it is already installed, or pull the repo if its folder is on your PATH.