Code

git-svn: avoid md5 calculation entirely if SVN doesn't provide one
authorEric Wong <normalperson@yhbt.net>
Sun, 27 May 2007 22:59:01 +0000 (15:59 -0700)
committerJunio C Hamano <junkio@cox.net>
Tue, 29 May 2007 06:49:47 +0000 (23:49 -0700)
commit7faf068660f0a060066ccbc80f7debbba6bc2d76
treef055519f56aa19fb3ea91d9c95a3cec917d2e1e3
parenteb09626b94fb21c67f47f71f8bada0d4aed306f5
git-svn: avoid md5 calculation entirely if SVN doesn't provide one

There's no point in calculating an MD5 if we're not going to use
it.  We'll also avoid the possibility of there being a bug in the
Perl MD5 library not being able to handle zero-sized files.

This is a followup to 20b3d206acbbb042c7ad5f42d36ff8d036a538c5,
which allows us to track repositories that do not provide MD5
checksums.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-svn.perl