git-commit-vandalism/perl
Erik Faye-Lund 402e139c7e git-svn: support fetch with autocrlf on
Before commit d3c9634e, performing a "git svn rebase" that fetched a
change containing CRLFs corrupted the git-svn meta-data. This was
worked around in d3c9634e by setting core.autocrlf to "false" in the
per-repo config when initing the clone. However, if the config
variable was later changed, the corruption would still occur.

This patch tries to fix it while allowing core.autocrlf to be
enabled, by disabling filters when when hashing.

git-svn is currently the only call-site for hash_and_insert_object
(apart from the test-suite), so changing it should be safe.

Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
2010-03-05 02:57:57 -08:00
..
.gitignore Make perl/ build procedure ActiveState friendly. 2006-12-04 13:39:32 -08:00
Git.pm git-svn: support fetch with autocrlf on 2010-03-05 02:57:57 -08:00
Makefile pay attention to DESTDIR when building with NO_PERL_MAKEMAKER 2009-09-22 12:20:40 -07:00
Makefile.PL perl/Makefile.PL: detect MakeMaker versions incompatible with DESTDIR 2009-09-25 14:00:04 -07:00
private-Error.pm