aboutsummaryrefslogtreecommitdiff
path: root/Git
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-03-11 14:33:38 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-03-11 14:33:38 -0400
commitaa113924c8073f4d6b9dcaadadfe53b5cf0be670 (patch)
tree2359536b05249b0ec6fdd9975054fffe92ef2f2e /Git
parentf2ce605aca6ef56d5b66fd90c3a5af6149c08fa6 (diff)
fix warning
Diffstat (limited to 'Git')
-rw-r--r--Git/DiffTree.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Git/DiffTree.hs b/Git/DiffTree.hs
index 0dac607e5..645d18d35 100644
--- a/Git/DiffTree.hs
+++ b/Git/DiffTree.hs
@@ -107,7 +107,7 @@ parseDiffRaw l = go l []
go (info:f:rest) c = case mk info f of
Nothing -> Nothing
Just i -> go rest (i:c)
- go (s:[]) _ = Nothing
+ go (_:[]) _ = Nothing
mk info f = DiffTreeItem
<$> readmode srcm