diff options
author | Junio C Hamano <junkio@cox.net> | 2007-05-26 01:30:40 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-05-26 01:30:40 -0700 |
commit | d1c7c27ea3d9c92be2c7a9c5fc72ba5f228c424a (patch) | |
tree | 929a074f6c4001add762cdaefc11887a6a291966 /git-svn.perl | |
parent | Fix mishandling of $Id$ expanded in the repository copy in convert.c (diff) | |
parent | Fix git-svn to handle svn not reporting the md5sum of a file, and test. (diff) | |
download | tgif-d1c7c27ea3d9c92be2c7a9c5fc72ba5f228c424a.tar.xz |
Merge branch 'maint-1.5.1' into maint
* maint-1.5.1:
Fix git-svn to handle svn not reporting the md5sum of a file, and test.
More echo "$user_message" fixes.
Add tests for the last two fixes.
git-commit: use printf '%s\n' instead of echo on user-supplied strings
git-am: use printf instead of echo on user-supplied strings
Documentation: Add definition of "evil merge" to GIT Glossary
Replace the last 'dircache's by 'index'
Documentation: Clean up links in GIT Glossary
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-x | git-svn.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-svn.perl b/git-svn.perl index eda9969f50..fa46236ae8 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -2477,7 +2477,7 @@ sub close_file { $md5->addfile($fh); my $got = $md5->hexdigest; die "Checksum mismatch: $path\n", - "expected: $exp\n got: $got\n" if ($got ne $exp); + "expected: $exp\n got: $got\n" if (defined $exp && $got ne $exp); sysseek($fh, 0, 0) or croak $!; if ($fb->{mode_b} == 120000) { sysread($fh, my $buf, 5) == 5 or croak $!; |