Code

git-gui: Always disable the Tcl EOF character when reading
[git.git] / lib / blame.tcl
index 4bdb9a27a3dbcc60957f1a4eaed123faf3952bac..1bcb4b471fe0655290beda2133937aff9c314cd0 100644 (file)
@@ -370,6 +370,7 @@ method _load {jump} {
        $w_path conf -text [escape_path $path]
        if {$commit eq {}} {
                set fd [open $path r]
+               fconfigure $fd -eofchar {}
        } else {
                set fd [git_read cat-file blob "$commit:$path"]
        }