fix init in cripped filesystem version issues
* init: When a crippled filesystem causes an adjusted unlocked branch to be used, set repo version to 7, which it neglected to do before. * init: When on a crippled filesystem, and the git version is too old to use an adjusted unlocked branch, fall back to using direct mode. This commit was sponsored by Ilya Shlyakhter on Patreon.
This commit is contained in:
parent
89abe04eb8
commit
865d556103
4 changed files with 34 additions and 6 deletions
|
@ -28,6 +28,9 @@ supportedVersions = map RepoVersion [5, 7]
|
|||
versionForAdjustedClone :: RepoVersion
|
||||
versionForAdjustedClone = RepoVersion 7
|
||||
|
||||
versionForCrippledFilesystem :: RepoVersion
|
||||
versionForCrippledFilesystem = RepoVersion 7
|
||||
|
||||
upgradableVersions :: [RepoVersion]
|
||||
#ifndef mingw32_HOST_OS
|
||||
upgradableVersions = map RepoVersion [0..6]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue