Hello.
Working with Git for Windows on git gui I noticed an issue on reading
initial message to git gui message prompt after squash or cherry-pick
conflict. When system encoding is not set to UTF-8 (and on my Windows
it is cp1250) squash/cherry pick conflict message gets invalid
encoding.
This is
pcm_source "merge"
set fd_mm [open [gitdir MERGE_MSG] r]
+ fconfigure $fd_mm -encoding utf-8
puts -nonewline $fd_pcm [read $fd_mm]
close $fd_mm
} elseif {[file isfile [gitdir SQUASH_MSG]]} {
set pcm_source "squash"
set fd_sm [open [gitdir SQUASH_MSG] r]
+ fconfigure $f
2 matches
Mail list logo