Skip to content

Commit

Permalink
git-svn: correctly display fatal() error messages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric Wong authored and Junio C Hamano committed Dec 13, 2006
1 parent dd31da2 commit 6fda05a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-svn.perl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
'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
Expand Down

0 comments on commit 6fda05a

Please sign in to comment.