summaryrefslogtreecommitdiff
path: root/doc/automatic_conflict_resolution
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawn3p4i4lk_zMilvjnJ9sS6g2nerpgz0Fjc <Matthias@web>2014-03-23 23:02:23 +0000
committerGravatar admin <admin@branchable.com>2014-03-23 23:02:23 +0000
commitd01757994ae0eedc7d4b88509536f7203d6aa338 (patch)
treedbf6fe44320672f7197b65c5b3ef8dee7fbff280 /doc/automatic_conflict_resolution
parentd9d58cbccdaec64d75dad7913155b913aa758ea1 (diff)
Added a comment: merge for master branch?
Diffstat (limited to 'doc/automatic_conflict_resolution')
-rw-r--r--doc/automatic_conflict_resolution/comment_4_80539e11e36a0b64cee83b6b373bd843._comment17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/automatic_conflict_resolution/comment_4_80539e11e36a0b64cee83b6b373bd843._comment b/doc/automatic_conflict_resolution/comment_4_80539e11e36a0b64cee83b6b373bd843._comment
new file mode 100644
index 000000000..d67514452
--- /dev/null
+++ b/doc/automatic_conflict_resolution/comment_4_80539e11e36a0b64cee83b6b373bd843._comment
@@ -0,0 +1,17 @@
+[[!comment format=mdwn
+ username="https://www.google.com/accounts/o8/id?id=AItOawn3p4i4lk_zMilvjnJ9sS6g2nerpgz0Fjc"
+ nickname="Matthias"
+ subject="merge for master branch?"
+ date="2014-03-23T23:02:23Z"
+ content="""
+As far as I observed, \"git annex merge\" only merges the \"git-annex\" branch. My wish is to have the conflict resolution from \"git annex sync\" in the \"master\" branch, but no automatic commit, such that the user can verify and possibly correct the merge. The proposed merge could go to the index. Consider the following scenario:
+
+1. We have repo A, B, and CENTRAL
+2. All three start with a root commit in \"master\" branch
+3. Then A commits a file \"test.txt\" with content \"a\" and syncs with CENTRAL
+4. Meanwhile, B commits \"test.txt\" with content \"b\"
+5. When B tries to sync with CENTRAL, the proposed conflict resolution having two files \"test.txt-variantXXXX\" and \"test.txt-variantYYYY\" should be staged in the index, but not committed yet.
+6. B can now commit a custom merge, e.g. with file content \"ab\".
+
+The point is that I really like the conflict resolution, but still want to force the user to check the result.
+"""]]