guard pushEmpty

This commit is contained in:
Joey Hess 2024-05-21 12:09:45 -04:00
parent 969da25d66
commit 0041012498
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -351,7 +351,7 @@ incrementalPush st rmt oldtrackingrefs newtrackingrefs = guardPush st $ do
) )
pushEmpty :: State -> Remote -> Annex (Bool, State) pushEmpty :: State -> Remote -> Annex (Bool, State)
pushEmpty st rmt = do pushEmpty st rmt = guardPush st $ do
oldmanifest <- maybe (downloadManifestWhenPresent rmt) pure oldmanifest <- maybe (downloadManifestWhenPresent rmt) pure
(manifestCache st) (manifestCache st)
let manifest = mkManifest mempty let manifest = mkManifest mempty