summaryrefslogtreecommitdiff
path: root/doc/todo/automatic_merge_of_synced_branches_upon___34__git_annex_sync__34__.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-18 20:07:59 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-18 20:07:59 -0400
commitc76bcdc47e0d4a48b9b9cc91718255e89c535d05 (patch)
tree2aed28a0de95f8b8b2d0c2d440c2917b884ea2f3 /doc/todo/automatic_merge_of_synced_branches_upon___34__git_annex_sync__34__.mdwn
parenta46424e78b1cd98f87ee62a49b63acff7e6d890c (diff)
bug triaging and tagging
Diffstat (limited to 'doc/todo/automatic_merge_of_synced_branches_upon___34__git_annex_sync__34__.mdwn')
-rw-r--r--doc/todo/automatic_merge_of_synced_branches_upon___34__git_annex_sync__34__.mdwn16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/todo/automatic_merge_of_synced_branches_upon___34__git_annex_sync__34__.mdwn b/doc/todo/automatic_merge_of_synced_branches_upon___34__git_annex_sync__34__.mdwn
new file mode 100644
index 000000000..361585a78
--- /dev/null
+++ b/doc/todo/automatic_merge_of_synced_branches_upon___34__git_annex_sync__34__.mdwn
@@ -0,0 +1,16 @@
+When maintaining several replica of the same git-annex repo "git annex sync" is quite handy.
+But it would be even handier if "git annex sync" would also perform automatic "git merge synced/*" actions on all remotes.
+
+Clearly, this is beneficial when the user wants to keep all working copies synchronized.
+This is likely the case in git annex assistant like scenarios. And it's always the case in my day to day scenarios :-)
+I'm not sure about other use cases that I've hard time imagining...
+
+As just discussed on IRC (#vcs-home/OFTC), this could be implemented in various ways:
+
+1) By doing ssh on each remote and running the appropriate "git merge ..." commands there.
+ The drawback of this is that quite often it won't be permitted to ssh on the remote and run arbitrary commands there.
+
+2) Having a default post-receive hook, created at the time of "git annex init" that automatically does the merges when contacted by other remotes as a consequence of "git annex sync".
+
+
+Thanks for git-annex!