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
|
@ -57,7 +57,7 @@ initRepo True primary_assistant_repo dir desc mgroup = inDir dir $ do
|
|||
initRepo' desc mgroup
|
||||
{- Initialize the master branch, so things that expect
|
||||
- to have it will work, before any files are added. -}
|
||||
unlessM (Git.Config.isBare <$> gitRepo) $ do
|
||||
unlessM (fromMaybe False . Git.Config.isBare <$> gitRepo) $ do
|
||||
cmode <- annexCommitMode <$> Annex.getGitConfig
|
||||
void $ inRepo $ Git.Branch.commitCommand cmode
|
||||
(Git.Branch.CommitQuiet True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue