svn-git: Use binmode for reading/writing binary rev maps
authorMichael Weber <michaelw@foldr.org>
Fri, 18 Apr 2008 13:12:04 +0000 (15:12 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Apr 2008 04:43:58 +0000 (21:43 -0700)
commit4f7ec7970874d09be162bc7f16415a0ec2d36ae5
treeaaeceb6cee12421e531b63244b67caff01533f23
parenta6f47b2be43fbe70236316edc6c87ad9522c485d
svn-git: Use binmode for reading/writing binary rev maps

Otherwise, there is a possible interaction with UTF-8 locales in
combination with PERL_UNICODE, resulting in "inconsistent size: 40" or
"read:"-type errors.

See also:
    perldoc -f binmode
    <http://perldoc.perl.org/perl581delta.html#UTF-8-no-longer-default-under-UTF-8-locales>

Signed-off-by: Michael Weber <michaelw@foldr.org>
Acked-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-svn.perl