Fixed Gitalist::Utils::is_binary to work.
authorDan Brook <broq@cpan.org>
Fri, 30 Apr 2010 21:39:31 +0000 (22:39 +0100)
committerDan Brook <broq@cpan.org>
Sat, 19 Jun 2010 15:40:56 +0000 (16:40 +0100)
commitb30f0e2ecd3986b563b3529c1143f1d5f631a3ff
tree1c97b82111a69c61868db99263f996140bf3eae5
parentd5fd80f5284cdbedd53db508c619924913775f2b
Fixed Gitalist::Utils::is_binary to work.

For some reason calling -B with an in-memory filehandle doesn't work.
In lieu of that functionality I used a shoddy heuristic to look for
a line or two of printable characters.
lib/Gitalist/Utils.pm