00d814aecc
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.) |
||
---|---|---|
.. | ||
Branch.hs | ||
CatFile.hs | ||
CheckAttr.hs | ||
Command.hs | ||
Config.hs | ||
Construct.hs | ||
Filename.hs | ||
HashObject.hs | ||
Index.hs | ||
LsFiles.hs | ||
LsTree.hs | ||
Queue.hs | ||
Ref.hs | ||
Sha.hs | ||
Types.hs | ||
UnionMerge.hs | ||
Url.hs | ||
Version.hs |