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

Fixed issue #27 - Changed split to be regexp instead of string #28

Open coverer opened 11 years ago

coverer commented 11 years ago

Added /^--\n/ to line 724 instead of "--\n"

This caused errors, when in the file to be grepped a "--\n" string was present as in markdown files used for Headings

coveralls commented 11 years ago

Coverage Status

Coverage increased (+0%) when pulling 7a7271e2d4a8dca849fc5c23030d189affe6f021 on coverer:grep-fix into ca49cdd437626af3088083a9ad0c49adacb7135f on gitlabhq:master.

jacobvosmaer commented 11 years ago

It would be nice to also have a regression test for this. What do you think, @jacargentina?

jacargentina commented 11 years ago

Yes, would be nice.