bobtfish/git-pureperl — pull request #3 by gugod (2012-07-16 20:50:21+00:00)
Title: Make Git::PurePerl robust against $/ value change

Git::PurePerl assumes $/ = "\n" and uses chomp() in multiple places, which can be broken when used in script, where it's not uncomment to say something like this in somewhere:

undef $/;
my $data = <>;

The patch contains a test script local-rs.t, basically identical to simple.t, with one additional line to change the value of $/. However it's very sufficient to reproduce the failure.