git-remote-annex: fix hang on fetch

Sponsored-by: k0ld on Patreon
This commit is contained in:
Joey Hess 2024-05-07 15:34:55 -04:00
parent cdcf2fe3a2
commit df5011ec43
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -147,6 +147,10 @@ fetch' st rmt = do
manifest <- maybe (downloadManifest rmt) pure (manifestCache st)
forM_ (inManifest manifest) $ \k ->
downloadGitBundle rmt k >>= inRepo . Git.Bundle.unbundle
-- Newline indicates end of fetch.
liftIO $ do
putStrLn ""
hFlush stdout
push :: State -> Remote -> [String] -> Annex [String]
push st rmt ls = do