https://github.com/ipython/ipython/pull/12091/files
Unfortunately there isn’t support for it in GitHub or GitLab yet, but there’s at least a GitLab issue here requesting it:
To do this just highlight the block, right click, and choose Git > Show History for Selection.
The only real downside is you nuke your issue tracker at the same time.
> It would be nice if there was a kind of diffing algorithm that can diff code units syntactically across history.
There have been quite a few attempts at that though I've only seen them applied to resolving merge conflicts. It would be interesting to try them for blame too.
My point was that the user doesn't matter (vs. anything else about the commit) to me in any context that I see it.
And then I mentioned without reiterating the advice about hiding the commit from blame just as you did.
In any context where I see "OJFord committed 'Autoformat with black'" for this, it's not 'OJFord' that's the problem IMO.
Probably best to just make a one time git user to do it.