From: Eric Wong Date: Tue, 12 Dec 2006 22:47:02 +0000 (-0800) Subject: git-svn: correctly display fatal() error messages X-Git-Tag: v1.5.0-rc0~139 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6fda05aebe6e36bfe87113f85b6e70f2b9b73e42;p=git.git 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 Signed-off-by: Junio C Hamano --- 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