diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-12-12 14:47:02 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-12 17:07:05 -0800 |
commit | 6fda05aebe6e36bfe87113f85b6e70f2b9b73e42 (patch) | |
tree | b791f892053ed0d4e0ae53174f08f1c8b1889d55 /git-svn.perl | |
parent | dd31da2fdc199132c9fd42023aea5b33672d73cc (diff) | |
download | git-6fda05aebe6e36bfe87113f85b6e70f2b9b73e42.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>
Diffstat (limited to 'git-svn.perl')
-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 819584baf5..c746a3c62a 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -31,7 +31,7 @@ my %SKIP = ( 'svn:wc:ra_dav:version-url' => 1, 'svn:entry:committed-date' => 1, ); -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 |