Merge pull request #14111 from ryantrinkle/nix-prefetch-git-submodules-json
nix-prefetch-scripts: make nix-prefetch-git report fetchSubmodules in its JSON output
This commit is contained in:
commit
6c3f9869cc
@ -327,7 +327,12 @@ print_results() {
|
||||
echo "{"
|
||||
echo " \"url\": \"$url\","
|
||||
echo " \"rev\": \"$fullRev\","
|
||||
echo " \"$hashType\": \"$hash\""
|
||||
echo -n " \"$hashType\": \"$hash\""
|
||||
if test -n "$fetchSubmodules"; then
|
||||
echo ","
|
||||
echo -n " \"fetchSubmodules\": true"
|
||||
fi
|
||||
echo ""
|
||||
echo "}"
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user