summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8974c6f)
raw | patch | inline | side by side (parent: 8974c6f)
author | Junio C Hamano <junkio@cox.net> | |
Fri, 26 May 2006 07:07:15 +0000 (00:07 -0700) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Fri, 26 May 2006 12:25:26 +0000 (22:25 +1000) |
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>
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>
gitk | patch | blob | history |
index 74278568ec2be18bf5c08830b6e273e0229da475..45d31127fa46318a4f1c928422c51991d0f509f0 100755 (executable)
--- a/gitk
+++ b/gitk
# 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