fix update of export tracking branch when exporting branch:subdir

This commit is contained in:
Joey Hess 2019-03-11 13:18:20 -04:00
parent 2912429640
commit e46e40bf05
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 16 additions and 4 deletions

View file

@ -10,7 +10,13 @@ this.
## implementation notes
* Does export of master:subdir update the remote tracking branch right?
* When doing `git annex export master:subdir` followed by
`git annex import master:subdir` which imports a new file,
followed by merging the import and re-export, it does unncessary
work deleting stuff not in the subdir from the remote.
Why? Seems that the import recorded the exported tree wrong, using the
whole tree and not the sub-tree.
* Does sync --content with remote.name.annex-tracking-branch=master:subdir
export the right tree and update the remote tracking branch right?