diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-12-12 14:47:02 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-13 01:51:35 -0800 |
commit | 155bd0ce23144e5c7067965a22646523f1a38b51 (patch) | |
tree | 7f0d230675f6ea226fa1d8be02fdcc04fc8ad643 | |
parent | b42a044f5942c64bbc94aa2f4637d8290748e634 (diff) | |
download | git-155bd0ce23144e5c7067965a22646523f1a38b51.tar.gz |
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-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 |