Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-svn: correctly display fatal() error messages
author
Eric Wong
<normalperson@yhbt.net>
Tue, 12 Dec 2006 22:47:02 +0000
(14:47 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Wed, 13 Dec 2006 09:51:35 +0000
(
01:51
-0800)
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>
git-svn.perl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
b42a044
)
diff --git
a/git-svn.perl
b/git-svn.perl
index e8b5c0966bf3a38fd0c55b003a36a25bad4d608f..599edc3dd5b3d4305ab2c39a0b1ee566669f4074 100755
(executable)
--- a/
git-svn.perl
+++ b/
git-svn.perl
@@
-21,7
+21,7
@@
$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