This is needed for getcommitlines to work properly when a language
translation is being used.
Signed-off-by: Marc Branchaud <redacted>
Signed-off-by: Paul Mackerras <redacted>
if {[string range $err 0 4] == "usage"} {
set err "Gitk: error reading commits$fv:\
bad arguments to git log."
- if {$viewname($view) eq "Command line"} {
+ if {$viewname($view) eq [mc "Command line"]} {
append err \
" (Note: arguments to gitk are passed to git log\
to allow selection of commits to be displayed.)"