diff --git a/Git/Ref.hs b/Git/Ref.hs index 9d67927fb5..7606ed6fa4 100644 --- a/Git/Ref.hs +++ b/Git/Ref.hs @@ -146,7 +146,7 @@ delete oldvalue ref = run {- Gets the sha of the tree a ref uses. -} tree :: Ref -> Repo -> IO (Maybe Sha) tree (Ref ref) = extractSha <$$> pipeReadStrict - [ Param "rev-parse", Param ref' ] + [ Param "rev-parse", Param "--quiet", Param ref' ] where ref' = if ":" `isInfixOf` ref then ref