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
155bd0ce23144e5c7067965a22646523f1a38b51
1 file changed
+1
-1
git-svn.perl
+1
-1
@@ -21,7 +21,7 @@ $ENV{TZ} = 'UTC';
21
$ENV{LC_ALL} = 'C';
22
$| = 1; # unbuffer STDOUT
23
24
-sub fatal (@) { print STDERR $@; exit 1 }
24
+sub fatal (@) { print STDERR @_; exit 1 }
25
# If SVN:: library support is added, please make the dependencies
26
# optional and preserve the capability to use the command-line client.
27
# use eval { require SVN::... } to make it lazy load