Am 02.08.2011 20:13, schrieb Jeff King: > Hmm. So it's not _just_ the pipe vs file thing. What's different about > calling it from the shell, versus the way we call it from git-archive? When the parent process of an MSYS process is itself an MSYS process, such as bash, then the child does not do its own binary-mode-vs.-text-mode detection, but just uses whatever it is told by the parent. This is achieved by MSYS's fork emulation. But if the parent is a regular Windows program, such as git(-archive), then the autodection happens and file descriptors pointing to files are put into text mode. -- Hannes -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html