diff options
author | Pat Thoyts <patthoyts@users.sourceforge.net> | 2016-10-20 11:06:28 +0100 |
---|---|---|
committer | Pat Thoyts <patthoyts@users.sourceforge.net> | 2016-10-20 11:06:28 +0100 |
commit | be44aee7ab4aee57696b2cc5e5116ce54a023203 (patch) | |
tree | 87bbfef57090228b022ba06e56fd4b0f6a8bd3e1 /lib/index.tcl | |
parent | Merge branch 'dr/ru' into pu (diff) | |
parent | git-gui: handle the encoding of Git's output correctly (diff) | |
download | tgif-be44aee7ab4aee57696b2cc5e5116ce54a023203.tar.xz |
Merge branch 'kb/unicode' into pu
Diffstat (limited to 'lib/index.tcl')
-rw-r--r-- | lib/index.tcl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/index.tcl b/lib/index.tcl index 3a3e534aef..b588db11d9 100644 --- a/lib/index.tcl +++ b/lib/index.tcl @@ -115,7 +115,7 @@ proc write_update_indexinfo {fd pathList totalCnt batch after} { set info [lindex $s 2] if {$info eq {}} continue - puts -nonewline $fd "$info\t[encoding convertto $path]\0" + puts -nonewline $fd "$info\t[encoding convertto utf-8 $path]\0" display_file $path $new } @@ -186,7 +186,7 @@ proc write_update_index {fd pathList totalCnt batch after} { ?M {set new M_} ?? {continue} } - puts -nonewline $fd "[encoding convertto $path]\0" + puts -nonewline $fd "[encoding convertto utf-8 $path]\0" display_file $path $new } @@ -247,7 +247,7 @@ proc write_checkout_index {fd pathList totalCnt batch after} { ?M - ?T - ?D { - puts -nonewline $fd "[encoding convertto $path]\0" + puts -nonewline $fd "[encoding convertto utf-8 $path]\0" display_file $path ?_ } } |