diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-12-12 23:47:02 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-13 10:51:35 +0100 |
commit | 155bd0ce23144e5c7067965a22646523f1a38b51 (patch) | |
tree | 7f0d230675f6ea226fa1d8be02fdcc04fc8ad643 /git-svn.perl | |
parent | git-svn: exit with status 1 for test failures (diff) | |
download | git-155bd0ce23144e5c7067965a22646523f1a38b51.tar.xz git-155bd0ce23144e5c7067965a22646523f1a38b51.zip |
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>
Diffstat (limited to '')
-rwxr-xr-x | git-svn.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-svn.perl b/git-svn.perl index e8b5c0966b..599edc3dd5 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 |