diff options
author | Eric Wong <normalperson@yhbt.net> | 2007-05-28 02:59:01 +0400 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-05-29 10:49:47 +0400 |
commit | 7faf068660f0a060066ccbc80f7debbba6bc2d76 (patch) | |
tree | f055519f56aa19fb3ea91d9c95a3cec917d2e1e3 /sha1_file.c | |
parent | eb09626b94fb21c67f47f71f8bada0d4aed306f5 (diff) |
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>
Diffstat (limited to 'sha1_file.c')
0 files changed, 0 insertions, 0 deletions