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>
Sun, 1 Aug 2010 11:25:13 +0000 (12:25 +0100)
commit32bc9fdb92286345e8015c956fdc74dc1575ecd5
tree0d52d2e991ee025e8fa4a162dfbb73427b5fb73e
parent5d1190efbd313944ca63361e51ec3ebfd0a0ff08
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