From 43177539e7281201a39619ff6ad6738479f6e815 Mon Sep 17 00:00:00 2001 From: "https://launchpad.net/~r0lf" Date: Sat, 24 Apr 2021 10:17:46 +0000 Subject: [PATCH] --- ...nc_merges_local-to-repo_adjusted_branch.mdwn | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/bugs/sync_merges_local-to-repo_adjusted_branch.mdwn diff --git a/doc/bugs/sync_merges_local-to-repo_adjusted_branch.mdwn b/doc/bugs/sync_merges_local-to-repo_adjusted_branch.mdwn new file mode 100644 index 0000000000..781e65bcf3 --- /dev/null +++ b/doc/bugs/sync_merges_local-to-repo_adjusted_branch.mdwn @@ -0,0 +1,17 @@ +Given that repo1 and repo2 both have a branch adjusted/master(hidemissing), those branches should be local to the repo as they contain the files available locally. Yet, when doing a sync between the two repositories, the branches are forcefully merged which is wrong. + + $ git annex sync + commit (recording state in git...) + On branch master + nothing to commit, working tree clean + ok + remote: Enumerating objects: 332, done. + remote: Counting objects: 100% (332/332), done. + remote: Compressing objects: 100% (185/185), done. + remote: Total 232 (delta 35), reused 0 (delta 0) + Receiving objects: 100% (232/232), 20.46 KiB | 1.57 MiB/s, done. + Resolving deltas: 100% (35/35), completed with 2 local objects. + From /media/leggewie/WD250G/@1TB.work + + 20bcd18...170148a adjusted/master(hidemissing) -> WD250G/adjusted/master(hidemissing) (forced update) + a071f8c..4a1f6d3 git-annex -> WD250G/git-annex + pull WD250G ok