typo fix
This commit is contained in:
parent
0743ee1bbc
commit
c7fe7760d1
1 changed files with 1 additions and 1 deletions
|
@ -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 ++ ":"
|
||||
|
|
Loading…
Reference in a new issue