summaryrefslogtreecommitdiff
path: root/Init.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-12-12 18:23:24 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-12-12 18:30:33 -0400
commit543d0d250104c1f5908e1b7b258d36d95488a029 (patch)
tree7342d994ac8932ed92b1e14108fdc6bb8e84d84e /Init.hs
parentda95cbadca5b7ef3058b91a384d5f3a48cc39039 (diff)
split out Git/Ref.hs
Diffstat (limited to 'Init.hs')
-rw-r--r--Init.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Init.hs b/Init.hs
index d03e10031..c8deadf3b 100644
--- a/Init.hs
+++ b/Init.hs
@@ -39,7 +39,7 @@ ensureInitialized :: Annex ()
ensureInitialized = getVersion >>= maybe needsinit checkVersion
where
needsinit = do
- annexed <- Annex.Branch.hasSomeBranch
+ annexed <- Annex.Branch.hasSibling
if annexed
then initialize Nothing
else error "First run: git-annex init"