Repository navigation
v2.5.0: Line history
Released 2026-12-04
New
- Line history: in a commit's Files tab, click a line number (or click one and shift-click another for a range), then History of lines…. You get every commit that changed those lines, newest first, each with a diff of just those lines. It follows them back through renames and moves (it uses
git log -L), and the oldest commit, at the bottom, is where they first appeared. View in file opens the file as a commit left it, with the same lines picked;j/kmove between commits and Esc goes back to the file. The picked lines stay in the address, so links and Back keep them. - JavaScript API:
lineHistory({ rev, path, start, end, skip, limit }).
VS Code
- Open Line History in Git Time Machine: select some lines and pick it from the editor's right-click menu or the Command Palette, or click Line History in the inline blame hover. Uncommitted and unsaved edits are fine: the selection is first matched to the same lines in the last commit, so the history follows the lines you picked, and the page says when their numbers differ.
Fixes
- Files and branches with a
%in their name open from links and the address bar. Their names were decoded twice, which failed.