nixpkgs/pkgs/build-support/fetchgit
Nicolas Benes f6b07f0e2f fetchgit: make sparseCheckout a list of strings
The `sparseCheckout` argument allows the user to specify directories or
patterns of files, which Git uses to filter files it should check-out.

Git expects a multi-line string on stdin ("newline-delimited list", see
`git-sparse-checkout(1)`), but within nixpkgs it is more consistent to
use a list of strings instead. The list elements are joined to a
multi-line string only before passing it to the builder script.

A deprecation warning is emitted if a (multi-line) string is passed to
`sparseCheckout`, but for the time being it is still accepted.
2022-11-15 19:45:33 +01:00
..
builder.sh fetchgit: allow disabling cone mode for sparse checkouts, fix test 2022-08-14 23:03:07 +02:00
default.nix fetchgit: make sparseCheckout a list of strings 2022-11-15 19:45:33 +01:00
deterministic-git fetchgit: split off deterministic-git functions 2022-02-19 14:33:20 +01:00
nix-prefetch-git fetchgit: allow disabling cone mode for sparse checkouts, fix test 2022-08-14 23:03:07 +02:00
tests.nix fetchgit: make sparseCheckout a list of strings 2022-11-15 19:45:33 +01:00