fix buggy sync to exporttree remote when annex-tracking-branch is not checked out
sync: Fix a bug that caused files to be removed from an importtree=yes exporttree=yes special remote when the remote's annex-tracking-branch was not the currently checked out branch. Sponsored-by: Max Thoursie on Patreon
This commit is contained in:
parent
5c6e1f5178
commit
e9b6efac5a
3 changed files with 30 additions and 12 deletions
|
@ -12,3 +12,7 @@ remains. But bad.
|
|||
The problem seems to be that it assumes it's merged d/master into master, but
|
||||
that does not happen since master is not the current branch. And so it then
|
||||
updates d to look like master. --[[Joey]]
|
||||
|
||||
> [[fixed|done]] by avoiding updating export remotes when
|
||||
> the current branch tree is not the same as the tracking branch tree.
|
||||
> --[[Joey]]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue