I can do git blame on a file in the following way:
for commit, lines in repo.blame(commit, filepath):
<process commit and lines>
However, I also want to do git blame --reverse START..END filename to blame the commit that deleted a line present at the START commit (or more specifically, the last commit within START..END where the line was present). Is there any way I can gitpython to achieve this?
I can do git blame on a file in the following way:
However, I also want to do
git blame --reverse START..END filenameto blame the commit that deleted a line present at the START commit (or more specifically, the last commit withinSTART..ENDwhere the line was present). Is there any way I cangitpythonto achieve this?