mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
nix-prefetch-git: add fetchLFS flag to the JSON output
Similarly to the other flags (e.g. fetchSubmodules).
This commit is contained in:
parent
2d2d5ce304
commit
9bd51f0db9
@ -398,6 +398,7 @@ print_results() {
|
|||||||
"date": "$(json_escape "$commitDateStrict8601")",
|
"date": "$(json_escape "$commitDateStrict8601")",
|
||||||
"path": "$(json_escape "$finalPath")",
|
"path": "$(json_escape "$finalPath")",
|
||||||
"$(json_escape "$hashType")": "$(json_escape "$hash")",
|
"$(json_escape "$hashType")": "$(json_escape "$hash")",
|
||||||
|
"fetchLFS": $([[ -n "$fetchLFS" ]] && echo true || echo false),
|
||||||
"fetchSubmodules": $([[ -n "$fetchSubmodules" ]] && echo true || echo false),
|
"fetchSubmodules": $([[ -n "$fetchSubmodules" ]] && echo true || echo false),
|
||||||
"deepClone": $([[ -n "$deepClone" ]] && echo true || echo false),
|
"deepClone": $([[ -n "$deepClone" ]] && echo true || echo false),
|
||||||
"leaveDotGit": $([[ -n "$leaveDotGit" ]] && echo true || echo false)
|
"leaveDotGit": $([[ -n "$leaveDotGit" ]] && echo true || echo false)
|
||||||
|
Loading…
Reference in New Issue
Block a user