diff options
author | http://joeyh.name/ <http://joeyh.name/@web> | 2014-07-15 18:23:50 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2014-07-15 18:23:50 +0000 |
commit | 3c9831fceb3052fd868ac4baaabc782fbece9c46 (patch) | |
tree | a159272dfc5b640b06f19ec73d4adfd19f195143 /doc/todo/Recovering_from_a_bad_sync | |
parent | fb94011c900fc0e6f0f12efeb0afa3e033f0da3a (diff) |
Added a comment
Diffstat (limited to 'doc/todo/Recovering_from_a_bad_sync')
-rw-r--r-- | doc/todo/Recovering_from_a_bad_sync/comment_3_4d4904bcbf97401c7c11338f32577f96._comment | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/todo/Recovering_from_a_bad_sync/comment_3_4d4904bcbf97401c7c11338f32577f96._comment b/doc/todo/Recovering_from_a_bad_sync/comment_3_4d4904bcbf97401c7c11338f32577f96._comment new file mode 100644 index 000000000..1d173f0ef --- /dev/null +++ b/doc/todo/Recovering_from_a_bad_sync/comment_3_4d4904bcbf97401c7c11338f32577f96._comment @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.2" + subject="comment 3" + date="2014-07-15T18:23:50Z" + content=""" +Making `git annex sync` automatically sync with remotes with no annex-uuid is more complicated than I first thought. + +In the case of a remote accessed over ssh, `git annex sync` already does sync with such a remote. Of course, it will set annex-ignore on it, since it has no annex-uuid. (Needed eg, for github, or just for preventing a repo from being used by git-annex if you don't want it to be.) Still, the git branches get synced, which is the behavior that we want. + +So, only local remotes are affected. Note that `git annex assistant` automatically git-annex inits the local remote when it lacks a uuid, and syncs with it. That seems ok. + +However `git annex sync` currently ignores the local remote when it has no uuid. Seems that this happens due to a bug, not intentionally. tryGitConfigRead tries to bootstrap up an annex state to read the repos's config, but this cannot be done in a repo that is not yet initialized. Result is the repo state is not read, and so it's treated as a local remote that is not currently available (ie, a disconnected disk). +"""]] |