(no commit message)
authorasakurareiko@f3d908c71c009580228b264f63f21c7274df7476 <asakurareiko@web>
Tue, 26 Oct 2021 22:37:52 +0000 (22:37 +0000)
committeradmin <admin@branchable.com>
Tue, 26 Oct 2021 22:37:52 +0000 (22:37 +0000)
doc/bugs/sync_does_not_merge_after_branch_rollback.mdwn [new file with mode: 0644]

diff --git a/doc/bugs/sync_does_not_merge_after_branch_rollback.mdwn b/doc/bugs/sync_does_not_merge_after_branch_rollback.mdwn
new file mode 100644 (file)
index 0000000..5ecc54a
--- /dev/null
@@ -0,0 +1,34 @@
+### Please describe the problem.
+
+I did an interactive rebase of the git-annex branch and rolled back the remote git-annex branch. Afterwards `git annex sync` did not merge the remote git-annex branch.
+
+### What steps will reproduce the problem?
+
+```
+git init a
+cd a
+git annex init
+git commit -m . --allow-empty
+
+cd ..
+git clone a b
+cd b
+git annex init
+git remote rename origin a
+cd ../a
+git annex fsck
+cd ../b
+git annex sync
+
+git push a :synced/git-annex
+git push -f a 'git-annex^2:git-annex'
+git branch -f git-annex 'git-annex^1'
+git annex sync
+```
+
+After the second sync, `a/git-annex` did not get merged.
+
+### What version of git-annex are you using? On what operating system?
+
+8.20211011 linux
+