Skip to content

Commit d6e8149

Browse files
committed
Use lf translation rather than binary when reading commit data.
The effect of this is that it allows Tcl to do the locale-specific conversion of the input data to its internal unicode representation. That means that commit messages in Russian or other languages should be displayed correctly now (according to the locale that is in effect.)
1 parent 94a2eed commit d6e8149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ proc getcommits {rargs} {
4848
exit 1
4949
}
5050
set leftover {}
51-
fconfigure $commfd -blocking 0 -translation binary
51+
fconfigure $commfd -blocking 0 -translation lf
5252
fileevent $commfd readable "getcommitlines $commfd"
5353
$canv delete all
5454
$canv create text 3 3 -anchor nw -text "Reading commits..." \

0 commit comments

Comments
 (0)