File tree Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Expand file tree Collapse file tree 2 files changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ public enum Error: ErrorProtocol {
2121 case UpdateRequired( ClonePath )
2222 case Unversioned( ClonePath )
2323 case InvalidDependencyGraphMissingTag( package : String , requestedTag: String , existingTags: String )
24- case ObsoleteGitVersion
2524}
2625
2726extension Error : CustomStringConvertible {
@@ -39,8 +38,6 @@ extension Error: CustomStringConvertible {
3938 return " No version tag found in ( \( package ) ) package. Add a version tag with \" git tag \" command. Example: \" git tag 0.1.0 \" "
4039 case NoManifest ( let clonePath, let version) :
4140 return " The package at ` \( clonePath) ' has no Package.swift for the specific version: \( version) "
42- case ObsoleteGitVersion:
43- return " Git 2.0 or higher is required. Please update git and retry. "
4441 }
4542 }
4643}
Original file line number Diff line number Diff line change @@ -18,11 +18,6 @@ import Utility
1818 - Returns: The modules that this manifest requires building
1919*/
2020public func get( manifest: Manifest , manifestParser: ( path: String , url: String ) throws -> Manifest ) throws -> [ Package ] {
21- // Git 2.0 or higher is required
22- if Git . majorVersionNumber < 2 {
23- throw Error . ObsoleteGitVersion
24- }
25-
2621 let dir = Path . join ( manifest. path. parentDirectory, " Packages " )
2722 let box = PackagesDirectory ( prefix: dir, manifestParser: manifestParser)
2823
You can’t perform that action at this time.
0 commit comments