aboutsummaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-12-12 14:47:02 -0800
committerJunio C Hamano <junkio@cox.net>2006-12-12 17:07:05 -0800
commit6fda05aebe6e36bfe87113f85b6e70f2b9b73e42 (patch)
treeb791f892053ed0d4e0ae53174f08f1c8b1889d55 /git-svn.perl
parentdd31da2fdc199132c9fd42023aea5b33672d73cc (diff)
downloadgit-6fda05aebe6e36bfe87113f85b6e70f2b9b73e42.tar.gz
git-6fda05aebe6e36bfe87113f85b6e70f2b9b73e42.tar.xz
git-svn: correctly display fatal() error messages
If I wanted to print $@, I'd pass $@ to fatal(). This looks like a stupid typo on my part. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-xgit-svn.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-svn.perl b/git-svn.perl
index 819584baf..c746a3c62 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -31,7 +31,7 @@ my %SKIP = ( 'svn:wc:ra_dav:version-url' => 1,
'svn:entry:committed-date' => 1,
);
-sub fatal (@) { print STDERR $@; exit 1 }
+sub fatal (@) { print STDERR @_; exit 1 }
# If SVN:: library support is added, please make the dependencies
# optional and preserve the capability to use the command-line client.
# use eval { require SVN::... } to make it lazy load