0

I want to find the commit that changed a line using jgit. I understand jGit does not have a inbuilt git log -L functionality. How would I do this in jGit. I believe I have to parse the log manually. Any help would be appreciated.

Arshak Anj
  • 149
  • 1
  • 2
  • 8
  • Possible duplicate of [Using the JGIT, how can I retrieve the line numbers of added/deleted lines](https://stackoverflow.com/questions/19467305/using-the-jgit-how-can-i-retrieve-the-line-numbers-of-added-deleted-lines) – Vhndaree Nov 14 '18 at 10:34
  • No, I want the commit history of a specific line, not number of line added between commits. – Arshak Anj Nov 16 '18 at 04:10
  • Did you try using JGit's `BlameCommand`? – Rüdiger Herrmann Nov 24 '18 at 13:18

0 Answers0