diff options
author | 2011-03-03 16:40:55 -0400 | |
---|---|---|
committer | 2011-03-03 16:40:55 -0400 | |
commit | b5b78f26ecabdb74c05f8200de5f9d054da5cbae (patch) | |
tree | c7a914c0799a1606774a4653456b9033174e4d35 /Command/Fsck.hs | |
parent | b88637fff10d4d845404882e4ec95cfc071dcac0 (diff) |
fix up commands that are trouble on bare repos
Most will just abort. init does a basic init and gives a command to
run elsewhere to finish it.
Diffstat (limited to 'Command/Fsck.hs')
-rw-r--r-- | Command/Fsck.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Fsck.hs b/Command/Fsck.hs index f8c957053..76d0e38b4 100644 --- a/Command/Fsck.hs +++ b/Command/Fsck.hs @@ -27,7 +27,7 @@ seek :: [CommandSeek] seek = [withAttrFilesInGit "annex.numcopies" start] start :: CommandStartAttrFile -start (file, attr) = isAnnexed file $ \(key, backend) -> do +start (file, attr) = notBareRepo $ isAnnexed file $ \(key, backend) -> do showStart "fsck" file return $ Just $ perform key file backend numcopies where |