aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/populate/src/shell.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-14 02:07:45 +0000
committertv <tv@krebsco.de>2026-11-14 02:07:45 +0000
commit06f3ddfd3a32e9038ea36c6e196d71adf1753391 (patch)
tree61440a9feb5f80bc54c12842b5b5eb2526feaf62 /pkgs/populate/src/shell.rs
parent7dfacd6437fe361b59d142901cd8343266c50bd8 (diff)
populate: check each Git work tree once per run
git_problems looks through all of a work tree for .git files and directories, which takes long for big ones like nixpkgs. A git source drawn from by a flake-input source got checked three times per run: when delivering it, by resolve, deciding on git+file:, and by derived_state, for the key. populate notes the work trees git_problems found nothing wrong with during the run, and resolve and derived_state get told, so git_flake only checks the rest, e.g. hooks. The git source's script prints checked if it checked the work tree that was there, instead of making a fresh clone. Its commands print to standard error, without getting the standard output populate reads, so nothing they leave running keeps populate waiting. rewrite-cache-gitsource is rewrite-cache-git with a git source.
Diffstat (limited to 'pkgs/populate/src/shell.rs')
0 files changed, 0 insertions, 0 deletions