summaryrefslogtreecommitdiff
path: root/Command/InitRemote.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-06-22 18:32:41 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-06-22 18:32:41 -0400
commit80302d0b46c5d45df1cf290796e0e27d9264ece8 (patch)
treec97312a531f5cf2ef514ddb5224395b614eb2b25 /Command/InitRemote.hs
parent944c51ba26efc39416c5f148b6ec36151dc7f42e (diff)
improve bare repo handing
Many more commands can work in bare repos now, thanks to the git-annex branch.
Diffstat (limited to 'Command/InitRemote.hs')
-rw-r--r--Command/InitRemote.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/InitRemote.hs b/Command/InitRemote.hs
index 67030689d..a3054630c 100644
--- a/Command/InitRemote.hs
+++ b/Command/InitRemote.hs
@@ -30,7 +30,7 @@ seek :: [CommandSeek]
seek = [withWords start]
start :: CommandStartWords
-start ws = notBareRepo $ do
+start ws = do
when (null ws) $ needname
(u, c) <- findByName name