Skip to content

Commit 6fda05a

Browse files
Eric WongJunio C Hamano
authored andcommitted
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>
1 parent dd31da2 commit 6fda05a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git-svn.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
'svn:entry:committed-date' => 1,
3232
);
3333

34-
sub fatal (@) { print STDERR $@; exit 1 }
34+
sub fatal (@) { print STDERR @_; exit 1 }
3535
# If SVN:: library support is added, please make the dependencies
3636
# optional and preserve the capability to use the command-line client.
3737
# use eval { require SVN::... } to make it lazy load

0 commit comments

Comments
 (0)