bugs/no way to disable repository auto upgradegit-annexhttp://git-annex.branchable.com/bugs/no_way_to_disable_repository_auto_upgrade/git-annexikiwiki2021-03-02T22:09:45Zreproducehttp://git-annex.branchable.com/bugs/no_way_to_disable_repository_auto_upgrade/comment_1_aab2cb260b68c25facd652946ea2aff7/zsolt12021-03-02T22:09:45Z2021-02-20T19:06:44Z
disabling auto-upgrade was successful by 4 repos before I experienced this problem by the 5th one
comment 2http://git-annex.branchable.com/bugs/no_way_to_disable_repository_auto_upgrade/comment_2_dc24c6c0c60bb11d6d871fa62585276d/Lukey2021-03-02T22:09:45Z2021-02-20T21:35:05Z
You're supposed to use <code>git config annex.autoupgraderepository false</code>.
comment 3http://git-annex.branchable.com/bugs/no_way_to_disable_repository_auto_upgrade/comment_3_f3c10f35956dff886d961f1351af71ef/zsolt12021-03-02T22:09:45Z2021-02-21T18:11:33Z
@Lukey , thanks for pointing it out! Layer 8.
comment 4http://git-annex.branchable.com/bugs/no_way_to_disable_repository_auto_upgrade/comment_4_7ea295a6c113ea0cc3e4e5ae28769190/joey2021-03-02T22:09:45Z2021-02-22T16:35:40Z
<p>Yeah, that command you say you ran makes no sense.</p>
<p>Now, running that command <em>does</em> upgrade the repo, if
upgrading has not already been disabled in the git config.
Because git-annex auto-upgrades on the first command run,
and the fact that the command just errors out due to being
used incorrectly doesn't prevent that from happening.</p>
<p>But I get the feeling that command is not what you actually did?</p>
<p>You can run <code>git config --global annex.autoupgraderepository false</code>
and you only have to set it that one time for that machine and it will
avoid all upgrades.</p>