Revert "revert recent bug fix temporarily for release"

This reverts commit 16f1e24665.
This commit is contained in:
Joey Hess 2023-02-14 14:11:23 -04:00
parent dd1a5f4961
commit 672258c8f4
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
8 changed files with 47 additions and 33 deletions

View file

@ -304,7 +304,7 @@ tryGitConfigRead autoinit r hasuuid
Right r' -> do
-- Cache when http remote is not bare for
-- optimisation.
unless (Git.Config.isBare r') $
unless (fromMaybe False $ Git.Config.isBare r') $
setremote setRemoteBare False
return r'
Left err -> do