diff options
Diffstat (limited to 'Git')
-rw-r--r-- | Git/DiffTree.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Git/DiffTree.hs b/Git/DiffTree.hs index 5981ed1a2..3ea14a15f 100644 --- a/Git/DiffTree.hs +++ b/Git/DiffTree.hs @@ -61,7 +61,7 @@ diffIndex' :: Ref -> [CommandParam] -> Repo -> IO ([DiffTreeItem], IO Bool) diffIndex' ref params repo = ifM (Git.Ref.headExists repo) ( getdiff (Param "diff-index") - ( params ++ [Param $ fromRef ref] ) + ( params ++ [Param $ fromRef ref] ++ [Param "--"] ) repo , return ([], return True) ) |