mirror of
https://github.com/NixOS/nix
synced 2025-07-02 21:51:50 +02:00
Merge pull request #4922 from nrdxp/default-submodules
libfetchers/git: fetch submodules by default
This commit is contained in:
commit
6678e98411
3 changed files with 8 additions and 8 deletions
|
@ -173,7 +173,7 @@ struct GitInputScheme : InputScheme
|
|||
std::string name = input.getName();
|
||||
|
||||
bool shallow = maybeGetBoolAttr(input.attrs, "shallow").value_or(false);
|
||||
bool submodules = maybeGetBoolAttr(input.attrs, "submodules").value_or(false);
|
||||
bool submodules = maybeGetBoolAttr(input.attrs, "submodules").value_or(true);
|
||||
bool allRefs = maybeGetBoolAttr(input.attrs, "allRefs").value_or(false);
|
||||
|
||||
std::string cacheType = "git";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue