I already implemented the idea in Emacs Lisp. See, http://blog.binchen.org/posts/effective-git-blame-in-emacs.html I tested at https://github.com/redguardtoo/test-git-blame Looks it works. The only issue is Lisp is slow in big code base. So I'm thinking I could re-implement it in C instead. My question is, *who can I contact to understand git-blame? I'm experienced at C but need some expert's guide. The key algorithm is simple, The algorithm only works for one line blame and the user must select text inside the line first. Step 1, `git blame -L6,1 --porcelain -- hello.js` output, 4f87408612e0dacfd89a1cd2515944e21cf68561 6 6 1 skip... filename hello.js doit({bad: 'destroy world', good: 'hello world', ...}); I got the commit id (1st column), the line number (2nd column), file name (hello.js) and the code line (last line). Step 2, if the code line does not contain the selected text, the recursive search stops Step 3, or else use commit id, line number and file name to build new git blame cli, like, `git blame -L line-num,1 --porcelain 4f8740^ file-name` Step 4, execute new git blame command and start from Step 1 Here is my first commit (added some debug code), https://github.com/redguardtoo/git/commit/d01d26f2df -- Best Regards, Chen Bin -- Help me, help you