summaryrefslogtreecommitdiff
path: root/Git
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-10-30 12:28:44 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-10-30 12:28:44 -0400
commitcdd375329a63252ea80fd778109459f003e4a244 (patch)
treec13fa378c01ca57e420a82b4e18bd9c3143b1b14 /Git
parente07011d1eb14eac78d978bb8d8b6b7df70b42543 (diff)
typo fix
Diffstat (limited to 'Git')
-rw-r--r--Git/Ref.hs2
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 ++ ":"