aboutsummaryrefslogtreecommitdiff
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-13 01:51:35 -0800
commit155bd0ce23144e5c7067965a22646523f1a38b51 (patch)
tree7f0d230675f6ea226fa1d8be02fdcc04fc8ad643
parentb42a044f5942c64bbc94aa2f4637d8290748e634 (diff)
downloadgit-155bd0ce23144e5c7067965a22646523f1a38b51.tar.gz
git-155bd0ce23144e5c7067965a22646523f1a38b51.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>
-rwxr-xr-xgit-svn.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-svn.perl b/git-svn.perl
index e8b5c0966..599edc3dd 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -21,7 +21,7 @@ $ENV{TZ} = 'UTC';
$ENV{LC_ALL} = 'C';
$| = 1; # unbuffer STDOUT
-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