Revert "revert recent bug fix temporarily for release"
This reverts commit 16f1e24665
.
This commit is contained in:
parent
dd1a5f4961
commit
672258c8f4
8 changed files with 47 additions and 33 deletions
|
@ -81,7 +81,7 @@ get = do
|
|||
}
|
||||
r <- Git.Config.read $ (newFrom loc)
|
||||
{ gitDirSpecifiedExplicitly = True }
|
||||
return $ if Git.Config.isBare r
|
||||
return $ if fromMaybe False (Git.Config.isBare r)
|
||||
then r { location = (location r) { worktree = Nothing } }
|
||||
else r
|
||||
configure Nothing Nothing = giveup "Not in a git repository."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue