git blame when a line comes from two branches

513 Views Asked by At

How does git-blame blame a line that is coming from 2 different revisions on 2 branches that were merged?

Context

I'm working with git-svn and I'm sick of seeing lines on blame that only point to a "merge" revision where there was no, say, real merge performed. I want to see what would happen if I hacked the revision with commit-tree so that I can force the merge to be a real merge (let's not consider git-svn's peculiarities for the time being and let's consider this a pure git problem). I tried blaming a file to see if now git is able to see where the line is really coming from (after having the "real" parent now included thanks to commit-tree) but I still get the same output as if there was no merge of the other branch.

Thanks in advance.

0

There are 0 best solutions below