summaryrefslogtreecommitdiff
path: root/Command/Move.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-02-26 14:11:50 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-02-26 14:11:50 -0400
commit00d814aecc7368bbc0fe1722b27340255772d2f2 (patch)
tree52b05ab2a32b85ae4ad39760048ed01bfd99d3e6 /Command/Move.hs
parentb889581945f0444127b2e0aac29d0e101dcafca6 (diff)
fix filename encoding for git cat-file
The filename sent to git cat-file needs to be sent on a File encoded handle. Also set the read handle to use the File encoding, so that any error message mentioning the filename is received properly. The actual file content is read using Data.ByteString.Char8, which will ignore the read handle's encoding, so this won't change that. (Whether that is entirely correct remains to be seen.)
Diffstat (limited to 'Command/Move.hs')
0 files changed, 0 insertions, 0 deletions