From a1f8771d2bac03a7a87dcc9731e7315f16c3194c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 18 Jun 2013 13:42:16 -0400 Subject: [PATCH] avoid filtering object being hashed This avoids newline conversion being done on it in Windows. --- Git/HashObject.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/Git/HashObject.hs b/Git/HashObject.hs index 1991ea4a57..808e527a37 100644 --- a/Git/HashObject.hs +++ b/Git/HashObject.hs @@ -21,6 +21,7 @@ hashObjectStart = CoProcess.rawMode <=< gitCoProcessStart True [ Param "hash-object" , Param "-w" , Param "--stdin-paths" + , Param "--no-filters" ] hashObjectStop :: HashObjectHandle -> IO ()