a78eb6dd58
* Added sync --only-annex, which syncs the git-annex branch and annexed content but leaves managing the other git branches up to you. * Added annex.synconlyannex git config setting, which can also be set with git-annex config to configure sync in all clones of the repo. Use case is then the user has their own git workflow, and wants to use git-annex without disrupting that, so they sync --only-annex to get the git-annex stuff in sync in addition to their usual git workflow. When annex.synconlyannex is set, --not-only-annex can be used to override it. It's not entirely clear what --only-annex --commit or --only-annex --push should do, and I left that combination not documented because I don't know if I might want to change the current behavior, which is that such options do not override the --only-annex. My gut feeling is that there is no good reasons to use such combinations; if you want to use your own git workflow, you'll be doing your own committing and pulling and pushing. A subtle question is, how should import/export special remotes be handled? Importing updates their remote tracking branch and merges it into master. If --only-annex prevented that git branch stuff, then it would prevent exporting to the special remote, in the case where it has changes that were not imported yet, because there would be a unresolved conflict. I decided that it's best to treat the fact that there's a remote tracking branch for import/export as an implementation detail in this case. The more important thing is that an import/export special remote is entirely annexed content, and so it makes a lot of sense that --only-annex will still sync with it. |
||
---|---|---|
.. | ||
Alert | ||
Install | ||
Pairing | ||
Threads | ||
Types | ||
WebApp | ||
Alert.hs | ||
BranchChange.hs | ||
Changes.hs | ||
Commits.hs | ||
Common.hs | ||
CredPairCache.hs | ||
DaemonStatus.hs | ||
DeleteRemote.hs | ||
Drop.hs | ||
Fsck.hs | ||
Gpg.hs | ||
Install.hs | ||
MakeRemote.hs | ||
MakeRepo.hs | ||
Monad.hs | ||
NamedThread.hs | ||
Pairing.hs | ||
Pushes.hs | ||
RemoteControl.hs | ||
Repair.hs | ||
RepoProblem.hs | ||
Restart.hs | ||
ScanRemotes.hs | ||
Ssh.hs | ||
Sync.hs | ||
TransferQueue.hs | ||
TransferrerPool.hs | ||
TransferSlots.hs | ||
Unused.hs | ||
Upgrade.hs | ||
WebApp.hs |