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:
parent
766dfc794a
commit
6d789c9c81
3 changed files with 15 additions and 1 deletions
|
@ -955,7 +955,7 @@ syncFile o ebloom rs af k = do
|
|||
wantput r
|
||||
| pushOption o == False && operationMode o /= SatisfyMode = return False
|
||||
| Remote.readonly r || remoteAnnexReadOnly (Remote.gitconfig r) = return False
|
||||
| isExport r = return False
|
||||
| isExport r || isImport r = return False
|
||||
| isThirdPartyPopulated r = return False
|
||||
| otherwise = wantGetBy True (Just k) af (Remote.uuid r)
|
||||
handleput lack inhere
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue