summaryrefslogtreecommitdiff
path: root/Git/Branch.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Git/Branch.hs')
-rw-r--r--Git/Branch.hs3
1 files changed, 0 insertions, 3 deletions
diff --git a/Git/Branch.hs b/Git/Branch.hs
index 523c641d7..a2225dc73 100644
--- a/Git/Branch.hs
+++ b/Git/Branch.hs
@@ -43,9 +43,6 @@ currentUnsafe r = parse . firstLine
| null l = Nothing
| otherwise = Just $ Git.Ref l
-currentSha :: Repo -> IO (Maybe Git.Sha)
-currentSha r = maybe (pure Nothing) (`Git.Ref.sha` r) =<< current r
-
{- Checks if the second branch has any commits not present on the first
- branch. -}
changed :: Branch -> Branch -> Repo -> IO Bool