Skip to content

Commit d54eee8

Browse files
authored
Git clone should include submodules (#61)
1 parent 737cc16 commit d54eee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Utilities/Git.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import TSCUtility
1919

2020
public enum GitUtilities {
2121
public static func clone(_ repositoryURL: String, to path: AbsolutePath) throws {
22-
try ShellUtilities.run(Git.tool, "clone", repositoryURL, path.pathString)
22+
try ShellUtilities.run(Git.tool, "clone", repositoryURL, path.pathString, "--recurse-submodules")
2323
}
2424

2525
public static func fetch(_ repositoryURL: String, at gitDirectoryPath: AbsolutePath) throws {

0 commit comments

Comments
 (0)