Skip to content

0.5.10

Choose a tag to compare

@github-actions github-actions released this 06 Aug 13:31
· 26 commits to main since this release

Update notes 0.5.10

Requires a Termux runner update (v8 → v9). Open the companion app and tap Update runner, or re-run the install command from the plugin settings.

One context menu everywhere

The Git menu is now described in one place and rendered identically by file rows, folder rows, group headers and the file explorer, in a fixed order: stage/unstage, discard, keep local / keep remote, open diff or conflict view, open file history, open in default app, copy path, then the .gitignore / sparse / .git-exclude entries. Every entry states its scope, and bulk titles carry the number of paths they will touch.

  • A target now has exactly one state, so a staged row no longer offers Stage when the same file was edited again afterwards. In the file explorer, where there is no row context, the state is inferred with the precedence conflicted, unstaged, untracked, staged.
  • Folders and groups get the same entries applied to their contents; only single paths can flip a config rule off, because a mixed selection has no single state to flip.
  • New entries: Copy path, and Abort merge on the conflicts group.

File history

A file's own history panel, opened from the context menu or the command palette:

  • the full path on one line at the top;
  • the commits that touched the file, each with what happened to it: added, +3 −0, +25 −12, renamed from A/f.md, deleted;
  • a Restore file button per commit; its label may be clipped on a narrow screen, its icon never is;
  • tapping a commit expands the diff it introduced for that file, with the same "runner is working" indicator the status panel uses;
  • each diff block carries a Restore this block button in a bar of its own, so it cannot be confused with the diff text. A block is restored only when the current file still contains it verbatim; if the file drifted, the plugin refuses and says so instead of guessing where the block belongs.

Status panel

  • Renames and copies are shown as moves: the row keeps the old path (← old-name) instead of looking like an unrelated addition. Note that git itself reports an unstaged move as a deletion plus an untracked file; the rename only exists once the change is staged.
  • The fetch, pull and push icons are one family: a cloud with an arrow down (pull), an arrow up (push) and a question mark (fetch, which only asks the remote).
  • Their activity animation is a real highlight now: a band a quarter of the icon high, in the accent colour, gliding along the glyph. The previous version dragged one slice of the icon downwards and stepped in thirds.
  • File counts are centred in the status column.

Internals

Runner v9: file-log uses --raw --numstat, so each commit reports the change letter, both sides of a rename and the added/deleted counts. 229 unit tests, 221 e2e checks.

Full Changelog: 0.5.9...0.5.10