author | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 23 Jan 2007 09:07:18 +0000 (04:07 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Tue, 23 Jan 2007 09:07:18 +0000 (04:07 -0500) | ||
commit | 51a989ba5a4d1299d08ddad19c6a45485bdb7dd8 | |
tree | 583a486ab599eab05789a0ca7065a0bf37527df0 | tree | snapshot |
parent | 0565246a7c886475878ea08cd501ea7ac4de6ada | commit | diff |
git-gui: Honor system encoding for filenames.
Since git operates on filenames using the operating system encoding
any data we are receiving from it by way of a pipe, or sending to it
by way of a pipe must be formatted in that encoding. This should
be the same as the Tcl system encoding, as its the encoding that
applications should be using to converse with the operating system.
Sadly this does not fix the gitweb/test file in git.git on Macs;
that's due to something really broken happening in the filesystem.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Since git operates on filenames using the operating system encoding
any data we are receiving from it by way of a pipe, or sending to it
by way of a pipe must be formatted in that encoding. This should
be the same as the Tcl system encoding, as its the encoding that
applications should be using to converse with the operating system.
Sadly this does not fix the gitweb/test file in git.git on Macs;
that's due to something really broken happening in the filesystem.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh | diff | blob | history |