fix annex-checkuuid
Fixed annex-checkuuid implementation, so that remotes configured that way can be used. This was 100% broken from the first commit of it, oops. This commit was sponsored by Øyvind Andersen Holm.
This commit is contained in:
parent
f1303e9146
commit
fc5888300f
5 changed files with 71 additions and 29 deletions
|
@ -0,0 +1,12 @@
|
|||
annex-checkuuid=false prevents the git config of a remote from being read.
|
||||
So, the remoteGitConfig will be an empty config when that's set.
|
||||
|
||||
Only a few things use remoteGitConfig. Annex.Ssh uses it, but is not
|
||||
impacted by the problem.
|
||||
|
||||
And `git annex sync` looks at it to determine
|
||||
if the remote is a FAT-formatted drive, and does updateInstead emulation.
|
||||
So, that's broken for remotes with annex-checkuuid=false
|
||||
|
||||
The best thing would be to remove remoteGitConfig, to avoid such problems
|
||||
in the future. --[[Joey]]
|
Loading…
Add table
Add a link
Reference in a new issue