From: Eric Wong Date: Tue, 12 Dec 2006 22:47:02 GMT Subject: [PATCH 3/3] git-svn: correctly display fatal() error messages Message-ID: <11659636263755-git-send-email-normalperson@yhbt.net> In-Reply-To: <11659636223725-git-send-email-normalperson@yhbt.net> If I wanted to print $@, I'd pass $@ to fatal(). This looks like a stupid typo on my part. Signed-off-by: Eric Wong --- git-svn.perl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/git-svn.perl b/git-svn.perl index 819584b..c746a3c 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 -- 1.4.4.2.g6f98