packsaddle / ruby-git_diff_parser

Parse `git diff` into patches and lines.
http://packsaddle.org
MIT License
33 stars 14 forks source link

Removed lines? #115

Open steverob opened 7 years ago

steverob commented 7 years ago

Hi, wondering why removed lines are not being tracked :) @sanemat

thomthom commented 7 years ago

Same question as Steve - is this intentional?

josephbuchma commented 7 years ago

Was looking for this feature too, here is a quick implementation #156

joroshiba commented 6 years ago

Implementation for line numbers seems to be broken, it only increments lines in the patch if a line is deleted. I believe it should actually be counting all not deleted lines. Will work on a bug fix.

joroshiba commented 6 years ago

183 is a fix