All posts

Release1 min read

GitLane v2.3.11

Checking out a remote branch now runs your checkout hooks once, shows progress and hook output, and refuses to move a branch another worktree holds.

Also in the docs: Branch operations

What's changed

Checkout (#473):

  • Fixed: Checking out a remote branch whose local branch is behind — the usual state right after a fetch — no longer runs your checkout hooks twice. GitLane moves the local branch to the remote tip first and then switches once, so post-checkout runs once against the final commit and post-merge doesn't run at all. Updating the branch you're already on fast-forwards it in place, with no second checkout.
  • Fixed: If local changes block the switch, you stay on your current branch with your changes intact. Before, you were left on the old tip of the branch you were checking out.
  • Fixed: GitLane refuses to move a branch that another worktree holds. That includes a worktree whose folder is missing, for example on an unmounted drive, and one paused in a rebase or bisect of that branch. The Fast-forward action has the same protection.
  • New: A checkout that takes more than a moment, such as one waiting on a slow hook, shows a "Checking out …" card until it finishes.
  • New: Whatever your checkout hooks print, and git warnings such as "you are leaving N commits behind", appear in a "Checked out …" card instead of being discarded. Secrets in that output are redacted.

Docs (#470):

  • Changed: The pull-request guide's forge support table now matches what each provider actually supports.

Related: Drag branches to merge, rebase, or reset, Worktrees, stashes, and tags.

Previous release: GitLane v2.3.10.

Installers: Download GitLane.