Lets say I have a particular commit in git, which contains some line removals. How to easily check who authored removed lines?
What I do now is:
git blame THE_FILE.TXT THE_REVISION^
which annotates all lines as they were before the change. This requires manual scrolling and finding lines that I know are removed in next commit.
Is there any better way, to only annotate changed lines (displayed by git show
or git diff
)?
This is not about finding when was specific line removed (as in the other question), but doing the opposite - finding when was the removed line introduced. Still no answer to that.
An example:
The problem is to easily identify the commit which introduced the line "EXTRAVERSION = -rc4", which is now removed.