fetchgit: Implement option to not check out submodules.
This commit is contained in:
@@ -6,6 +6,8 @@ source $stdenv/setup
|
||||
|
||||
header "exporting $url (rev $rev) into $out"
|
||||
|
||||
$fetcher --builder --url "$url" --out "$out" --rev "$rev" ${leaveDotGit:+--leave-dotGit}
|
||||
$fetcher --builder --url "$url" --out "$out" --rev "$rev" \
|
||||
${leaveDotGit:+--leave-dotGit} \
|
||||
${fetchSubmodules:+--fetch-submodules}
|
||||
|
||||
stopNest
|
||||
|
||||
Reference in New Issue
Block a user