avoid setting annex.direct in bare repo (no behavior change, just less ugly)
This commit is contained in:
parent
a64106dcef
commit
952537166e
1 changed files with 10 additions and 9 deletions
1
Init.hs
1
Init.hs
|
@ -160,6 +160,7 @@ checkCrippledFileSystem = whenM probeCrippledFileSystem $ do
|
|||
setConfig (ConfigKey "core.symlinks")
|
||||
(Git.Config.boolConfig False)
|
||||
|
||||
unlessBare $ do
|
||||
unlessM isDirect $ do
|
||||
warning "Enabling direct mode."
|
||||
top <- fromRepo Git.repoPath
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue