From 4ce70533e908bd802d56859a1467621e9ab664f0 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 20 May 2024 13:01:13 -0400 Subject: [PATCH] don't delete manifest from remote on pushEmpty I missed this in commit 3f848564ac6ce0eb320cf2fa4d8bfab76ece7630, the absence of a manifest prevents fetching. --- CmdLine/GitRemoteAnnex.hs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CmdLine/GitRemoteAnnex.hs b/CmdLine/GitRemoteAnnex.hs index d1eac6dfd8..ac83f381cb 100644 --- a/CmdLine/GitRemoteAnnex.hs +++ b/CmdLine/GitRemoteAnnex.hs @@ -381,8 +381,7 @@ pushEmpty st rmt = do manifest <- maybe (downloadManifestWhenPresent rmt) pure (manifestCache st) uploadManifest rmt mempty - ok <- allM (dropKey rmt) - (genManifestKey (Remote.uuid rmt) : inManifest manifest) + ok <- allM (dropKey rmt) (inManifest manifest) return (ok, st { manifestCache = Nothing }) data RefSpec = RefSpec