diff options
Diffstat (limited to 'Git')
-rw-r--r-- | Git/Ref.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Git/Ref.hs b/Git/Ref.hs index 9a2e47c37..1986db603 100644 --- a/Git/Ref.hs +++ b/Git/Ref.hs @@ -139,7 +139,7 @@ tree :: Ref -> Repo -> IO (Maybe Sha) tree (Ref ref) = extractSha <$$> pipeReadStrict [ Param "rev-parse", Param ref' ] where - ref' = if ':' `isInfixOf` ref + ref' = if ":" `isInfixOf` ref then ref -- de-reference commit objects to the tree else ref ++ ":" |