### Please describe the problem. Fun one: I have a backup repository created with the assistant. For some reason it's a bare repository, not sure why. It makes my hard drive scream with pain. ### What steps will reproduce the problem? When I tried `git annex copy --to backup`, I saw this: [[!format sh """ [2014-01-29 23:46:03 EST] read: git ["--git-dir=/srv/mp3/.git","--work-tree=/srv/mp3","show-ref","git-annex"] [2014-01-29 23:46:04 EST] read: git ["--git-dir=/srv/mp3/.git","--work-tree=/srv/mp3","show-ref","--hash","refs/heads/g [2014-01-29 23:46:11 EST] read: git ["--git-dir=/srv/mp3/.git","--work-tree=/srv/mp3","log","refs/heads/git-annex..ac42 [2014-01-29 23:46:12 EST] read: git ["--git-dir=/srv/mp3/.git","--work-tree=/srv/mp3","log","refs/heads/git-annex..9ab4 [2014-01-29 23:46:22 EST] read: git ["--git-dir=/srv/mp3/.git","--work-tree=/srv/mp3","log","refs/heads/git-annex..5795 [2014-01-29 23:46:22 EST] read: git ["--git-dir=/srv/mp3/.git","--work-tree=/srv/mp3","log","refs/heads/git-annex..8006 [2014-01-29 23:46:22 EST] read: git ["--git-dir=/srv/mp3/.git","--work-tree=/srv/mp3","log","refs/heads/git-annex..320e [2014-01-29 23:46:22 EST] chat: git ["--git-dir=/srv/mp3/.git","--work-tree=/srv/mp3","cat-file","--batch"] [2014-01-29 23:46:22 EST] read: git ["config","--null","--list"] [2014-01-29 23:46:22 EST] call: git ["--git-dir=/media/c7a29cf9-ad3e-42a8-8dd5-0f5618c218ee/mp3/.git","--work-tree=/med [2014-01-29 23:46:22 EST] read: git ["config","--null","--list"] [2014-01-29 23:46:22 EST] Detected bad bare repository with """]] Then this stopped and my hard drive started scratching. It makes this horrible screeching sound because it's quite old, hence the bug title. It seems that this debug message tries to list all the objects in the filesystem, which in this case is quite large: [[!format haskell """ fixBadBare :: Annex () fixBadBare = whenM checkBadBare $ do ks <- getKeysPresent liftIO $ debugM "Init" $ unwords [ "Detected bad bare repository with" , show (length ks) , "objects; fixing" ] """]] Maybe this could be skipped? It takes forever (7 minutes) to compute that length (21353 objects)... ### What version of git-annex are you using? On what operating system? 5.20140102-gd93f946, provided by joeyh as part of [[bugs/assistant_eats_all_CPU/]]. ### Please provide any additional information below. Here's the complete transcript of that copy: [[!format sh """ # If you can, paste a complete transcript of the problem occurring here. # If the problem is with the git-annex assistant, paste in .git/annex/daemon.log [2014-01-29 23:46:03 EST] read: git ["--git-dir=/srv/mp3/.git","--work-tree=/srv/mp3","show-ref","git-annex"] [2014-01-29 23:46:04 EST] read: git ["--git-dir=/srv/mp3/.git","--work-tree=/srv/mp3","show-ref","--hash","refs/heads/g [2014-01-29 23:46:11 EST] read: git ["--git-dir=/srv/mp3/.git","--work-tree=/srv/mp3","log","refs/heads/git-annex..ac42 [2014-01-29 23:46:12 EST] read: git ["--git-dir=/srv/mp3/.git","--work-tree=/srv/mp3","log","refs/heads/git-annex..9ab4 [2014-01-29 23:46:22 EST] read: git ["--git-dir=/srv/mp3/.git","--work-tree=/srv/mp3","log","refs/heads/git-annex..5795 [2014-01-29 23:46:22 EST] read: git ["--git-dir=/srv/mp3/.git","--work-tree=/srv/mp3","log","refs/heads/git-annex..8006 [2014-01-29 23:46:22 EST] read: git ["--git-dir=/srv/mp3/.git","--work-tree=/srv/mp3","log","refs/heads/git-annex..320e [2014-01-29 23:46:22 EST] chat: git ["--git-dir=/srv/mp3/.git","--work-tree=/srv/mp3","cat-file","--batch"] [2014-01-29 23:46:22 EST] read: git ["config","--null","--list"] [2014-01-29 23:46:22 EST] call: git ["--git-dir=/media/c7a29cf9-ad3e-42a8-8dd5-0f5618c218ee/mp3/.git","--work-tree=/med [2014-01-29 23:46:22 EST] read: git ["config","--null","--list"] [2014-01-29 23:46:22 EST] Detected bad bare repository with 21353 objects; fixing [2014-01-29 23:53:06 EST] call: git ["--git-dir=/media/c7a29cf9-ad3e-42a8-8dd5-0f5618c218ee/mp3","config","core.bare","true"] [2014-01-29 23:53:06 EST] read: git ["config","--null","--list"] [2014-01-29 23:53:06 EST] chat: git ["--git-dir=/media/c7a29cf9-ad3e-42a8-8dd5-0f5618c218ee/mp3","cat-file","--batch"] [2014-01-29 23:57:22 EST] call: git ["--git-dir=/srv/mp3/.git","--work-tree=/srv/mp3","config","remote..annex-uuid","c32322fa-8873-4635-8d4c-1dc27977eb6f"] [2014-01-29 23:57:22 EST] read: git ["config","--null","--list"] # End of transcript or log. """]] > [[done]] per my comment --[[Joey]]