update proxied exporttree=yes remote on receive of sync branch

Since git-annex sync sends the sync branch first, and only displays the
output of the push to the sync branch, this makes git-annex
post-retrieve's output when updating the exported tree be visible when
syncing.

This also makes syncing with a non-bare repository still update the
exported tree, even when the checked out branch is not able to be
updated. The sync branch gets sent regardless.
This commit is contained in:
Joey Hess 2024-08-07 13:11:06 -04:00
parent 55adbb6694
commit 01edd186e9
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 4 additions and 4 deletions

View file

@ -28,6 +28,7 @@ module Command.Sync (
parseUnrelatedHistoriesOption,
SyncOptions(..),
OperationMode(..),
syncBranch,
) where
import Command