bug report
This commit is contained in:
parent
c2b3e870df
commit
5c6e1f5178
1 changed files with 14 additions and 0 deletions
|
@ -0,0 +1,14 @@
|
||||||
|
git-annex initremote d type=directory directory=../d exporttree=yes importtree=yes encryption=none
|
||||||
|
git config remote.d.annex-tracking-branch master
|
||||||
|
date > ../d/foo
|
||||||
|
git checkout -b bar
|
||||||
|
git-annex sync --content d
|
||||||
|
|
||||||
|
This will import foo from d, but then it unexports foo from d.
|
||||||
|
|
||||||
|
Not quite data loss, because it does honor numcopies and the local copy
|
||||||
|
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]]
|
Loading…
Reference in a new issue