summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-06-18 13:42:16 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-06-18 13:42:16 -0400
commitce2b33835a1572a0296e6b0ad49711346bc11694 (patch)
treec912c5a48fa3454dddd2ae10730ebb3d5a4a0c11
parente23b77cffb397474dd00308456a564551f3a366b (diff)
avoid filtering object being hashed
This avoids newline conversion being done on it in Windows.
-rw-r--r--Git/HashObject.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Git/HashObject.hs b/Git/HashObject.hs
index 1991ea4a5..808e527a3 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 ()