packsaddle / ruby-git_diff_parser

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

deleted files not getting picked up #92

Open vikascoupa opened 8 years ago

vikascoupa commented 8 years ago

include deleted files in patch list

sanemat commented 8 years ago

Thank you for your patch! :smile: This pull request contains several ideas (I think). I want to know your ideas.

vikascoupa commented 8 years ago

Actually, I just wanted to submit the patch for the missing deleted files (1st commit) The second one parses a git log and creates a hash (with file name as key). I use it elsewhere to create a report correlating a file diff with information from git log (comments, any bug tickets etc.)

I am not sure the second commit is useful to you. If it's not, feel free to cherry-pick the first one that fixes a bug.