sync, push: Avoid trying to send individual files to special remotes configured with importtree=yes exporttree=no

That will always fail. It already skipped doing this when exporttree=yes.
This commit is contained in:
Joey Hess 2023-12-26 15:56:39 -04:00
parent 766dfc794a
commit 6d789c9c81
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 15 additions and 1 deletions

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="joey"
subject="""comment 5"""
date="2023-12-26T19:44:23Z"
content="""
I reproduced it with the current version and a remote set up with:
git-annex initremote test type=directory directory=../d encryption=none exporttree=no importtree=yes
git config remote.directory.annex-tracking-branch master
Fixed for tomorrow's release.
"""]]