Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/gitk
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-05-26 11:07:15 +0400
committerPaul Mackerras <paulus@samba.org>2006-05-26 16:25:26 +0400
commitb5e096337c5516fece2c21d813c8534ac541f2a0 (patch)
treea315454f762929fe4f24512d1a7b31ff43538992 /gitk
parent8974c6f93e62cd4b6ffe93562a6569b8920a89a3 (diff)
[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-xgitk2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitk b/gitk
index 74278568ec..45d31127fa 100755
--- a/gitk
+++ b/gitk
@@ -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