summaryrefslogtreecommitdiff
path: root/Annex
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-12-30 18:36:40 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-12-30 18:36:40 -0400
commit52104dae6f5175f01395a657fd40423d1196604a (patch)
tree804e1f76ee4cd930375d13f70121a634fe675dcd /Annex
parent56488e807bcc7dcc6e9f5b3e359ddf4f4fb5d8d1 (diff)
refactor
Diffstat (limited to 'Annex')
-rw-r--r--Annex/Branch.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Branch.hs b/Annex/Branch.hs
index 8c9d1582a..d3a81d8e5 100644
--- a/Annex/Branch.hs
+++ b/Annex/Branch.hs
@@ -58,7 +58,7 @@ hasSibling = not . null <$> siblingBranches
{- List of git-annex (refs, branches), including the main one and any
- from remotes. Duplicate refs are filtered out. -}
siblingBranches :: Annex [(Git.Ref, Git.Branch)]
-siblingBranches = inRepo $ Git.Ref.matching name
+siblingBranches = inRepo $ Git.Ref.matchingUniq name
{- Creates the branch, if it does not already exist. -}
create :: Annex ()