diff options
author | Junio C Hamano <junkio@cox.net> | 2006-05-26 00:07:15 -0700 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-05-26 22:25:26 +1000 |
commit | b5e096337c5516fece2c21d813c8534ac541f2a0 (patch) | |
tree | a315454f762929fe4f24512d1a7b31ff43538992 /gitk | |
parent | 8974c6f93e62cd4b6ffe93562a6569b8920a89a3 (diff) | |
download | git-b5e096337c5516fece2c21d813c8534ac541f2a0.tar.gz git-b5e096337c5516fece2c21d813c8534ac541f2a0.tar.xz |
[PATCH] gitk: start-up bugfix
The code to extract a message part from the error message was
not passing the error message to [string range], and resulted
in the show_error not getting called.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'gitk')
-rwxr-xr-x | gitk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4937,7 +4937,7 @@ if {$i >= 0} { # so look for "fatal:". set i [string first "fatal:" $err] if {$i > 0} { - set err [string range [expr {$i + 6}] end] + set err [string range $err [expr {$i + 6}] end] } show_error . "Bad arguments to gitk:\n$err" exit 1 |