Automatically enable v6 mode when initializing in a clone from a repo that has an adjusted branch checked out.
The clone also has the adjusted branch checked out, so it needs to be initialized to a version that supports that.
This commit is contained in:
parent
02a20288ef
commit
72f0d3d384
3 changed files with 13 additions and 5 deletions
|
@ -105,7 +105,8 @@ initialize' mversion = do
|
|||
, unlessM isBare
|
||||
switchHEADBack
|
||||
)
|
||||
checkAdjustedClone
|
||||
whenM checkAdjustedClone $
|
||||
void $ upgrade True
|
||||
createInodeSentinalFile False
|
||||
|
||||
uninitialize :: Annex ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue