restart coprocess in raw mode
authorJoey Hess <joeyh@joeyh.name>
Tue, 1 Nov 2016 18:03:55 +0000 (14:03 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 1 Nov 2016 18:03:59 +0000 (14:03 -0400)
commite23028d19b493c7abae0dffb96da44591aacca7b
tree47a8e0d8a887e657d685a15c163cfb52c094dce8
parentf08ad2f916b176b55c27cf1dec25aa804ed5da2d
restart coprocess in raw mode

Restarting a crashing git process could result in filename encoding issues
when not in a unicode locale, as the restarted processes's handles were not
read in raw mode.

Since rawMode is always used when starting a coprocess, didn't bother
to parameterise it and just always enable it for simplicity.

This commit was sponsored by Jake Vosloo on Patreon.
CHANGELOG
Git/CatFile.hs
Git/CheckAttr.hs
Git/CheckIgnore.hs
Git/HashObject.hs
Git/Tree.hs
Utility/CoProcess.hs