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>
Eric Wong committed
Dec 12, 2006 at 14:47 UTC
6fda05aebe6e36bfe87113f85b6e70f2b9b73e42
1 file changed
+1
-1
git-svn.perl
+1
-1
@@ -31,7 +31,7 @@ my %SKIP = ( 'svn:wc:ra_dav:version-url' => 1,
31
'svn:entry:committed-date' => 1,
32
);
33
34
-sub fatal (@) { print STDERR $@; exit 1 }
34
+sub fatal (@) { print STDERR @_; exit 1 }
35
# If SVN:: library support is added, please make the dependencies
36
# optional and preserve the capability to use the command-line client.
37
# use eval { require SVN::... } to make it lazy load