Skip to content

Commit

Permalink
feat: support git to pull submodules
Browse files Browse the repository at this point in the history
Add '--recurse-submodules' to git clone.

Log:
  • Loading branch information
kamiyadm authored and black-desk committed Oct 17, 2023
1 parent ec4bd2b commit a5eb577
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/linglong/builder/source_fetcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ util::Error SourceFetcherPrivate::fetchGitRepo()
auto err = util::Exec("git",
{
"clone",
"--recurse-submodules",
source->url,
sourceTargetPath(),
});
Expand Down

0 comments on commit a5eb577

Please sign in to comment.