Website Summary Files Commits Branches @commit @diff @stats
path: root / cgit.js
diff options
context:
space:
mode:
Commitc1a1d23111b4918798f2605c33130f2ab71bbe7a (patch)
Author
 John Keeping <john@keeping.me.uk>
2022-02-13 15:29:06 +0000
Committer
 Jason A. Donenfeld <Jason@zx2c4.com>
2022-12-19 16:13:58 +0100
Files34b754a7984b28ec7058dbd018c3536ffeef1e68 /cgit.js
cgit-c1a1d23111b4918798f2605c33130f2ab71bbe7a.tar
cgit-c1a1d23111b4918798f2605c33130f2ab71bbe7a.tar.gz
cgit-c1a1d23111b4918798f2605c33130f2ab71bbe7a.zip
Parenta0f6669bdb74e58b0ddb3f4283209cd5e58c0eb9 (diff)
ui-blame: add a link to the parent commit in blame
When walking through the history, it is useful to quickly see the same file at the previous revision, so add a link to do this. It would be nice to link to the correct line with an additional fragment, but this requires significantly more work so it can be done as an enhancement later. (ent->s_lno is mostly the right thing, but it is the line number in the post-image of the target commit whereas the link is to the parent of that commit, i.e. the pre-image of the target.) Suggested-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: John Keeping <john@keeping.me.uk> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
0 files changed, 0 insertions, 0 deletions