gitlabhq / grit

Grit gives you object oriented read/write access to Git repositories via Ruby. Patched for GitLab
gitlab.org
MIT License
59 stars 55 forks source link

Updated Grit::Commit#diffs method to honor options received in the parameter when calculating diffs. #47

Open ph77 opened 10 years ago

ph77 commented 10 years ago

I am not a ruby expert, but it seems to me that options passed to diffs method are not honored when diffs are calculated. Am I missing something?

I came to this issue when I needed to return diffs with ignored whitespace (git diff -w).

coveralls commented 10 years ago

Coverage Status

Coverage increased (+0.0%) when pulling bf4ac1c53de33c9d57f2c7f83a8bc02af7983ceb on ph77:allow-commit-diff-options into 4a1ccd04dd4ffd4f6c0cddb0ba2863234fc8e7d2 on gitlabhq:master.