forum/got confused by fsckgit-annexhttp://git-annex.branchable.com/forum/got_confused_by_fsck/git-annexikiwiki2019-01-21T15:42:51Zcomment 1http://git-annex.branchable.com/forum/got_confused_by_fsck/comment_1_ab35fea4d46ee93e62ab67e5af3dfcbf/Ilya_Shlyakhter2019-01-21T15:42:51Z2018-11-15T02:11:43Z
"if the repo has an outdated view of the other remotes" -- maybe, do git annex sync first, so that the repo has an up-to-date view of the other remotes?
comment 2http://git-annex.branchable.com/forum/got_confused_by_fsck/comment_2_19c730cb1337dc8794721cf5679c930b/joey2019-01-21T15:42:51Z2018-11-15T19:12:30Z
<p>fsck has checked required content (across all repos) since version 6.20180227.</p>
<p>There are many ways that some copies of a file could be lost without the
user really noticing, so it makes sense for fsck to check numcopies.</p>
<p>The local/global distinction you are trying to draw is not one I'm really
interested in drawing with fsck. It checks everything that it's practical
for it to check that we've thought of checking.</p>
<p>If you don't want to check all keys in a bare repo, you can use
<code>git annex fsck --branch=master</code> to only check the files in the master
branch.</p>