Lurker News

Comments (76) 37 threads

Earlier comments
rectang#
Feature request: Any chance for `--follow` to track the history of files that have moved?
ignaloidas#
This still needs performance improvements - on bigger files with longer history the transitions between commits get choppy, it shows only the newest 10 or so commits and doesn't load older ones, e.g. [0] has around 2500 lines and a history of around 200 commits. Usability is horrible for such files.

[0] https://githistory.xyz/godotengine/godot/blob/master/servers...

buremba2 replies#
Could you please make a bookmarklet as an alternative to Chrome extension?
pedroborges#
I just built a simple bookmarklet for myself. I hope you like it!

javascript:(function(l){l.host.match('github.com') && (l.href = l.origin.replace('.com', '') + '.githistory.xyz' + l.pathname)})(window.location);

mhw#
Not quite as pretty, but here's a bookmarklet that allows you to go back by one commit in the github.com blame view (e.g. https://github.com/babel/babel/blame/master/packages/babel-c...). It basically finds the most recent 'View blame prior to this commit' link and follows it.

javascript:(function(l){l.host.match('github.com') && (l.href = Array.prototype.slice.apply(document.querySelectorAll('.blame-hunk')).map((d) => [new Date(d.querySelector(".blame-commit-date time-ago").getAttribute('datetime')), d.querySelector(".blob-reblame a") && d.querySelector(".blob-reblame a").getAttribute('href')]).sort((a,b) => a[0] < b[0])[0][1])})(window.location);

lez#
It would be even more awesome than it is, if:

* A "blame" column could be turned on at the left, showing output from "git blame". * When hovering over a line in the blame column, the main window shows the historical version of the file when the commit was born. Commit message appears on the left (even more left). * When it is clicked, the timeline jumps there.
I understand it would be a lot of work, but it would be a super valuable tool for browsing file history in git.

Load more comments