diff options
| author | tv <tv@krebsco.de> | 2026-11-13 21:19:22 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-13 22:20:36 +0100 |
| commit | 169da64fa4b444844e7257416b53c156094c0e44 (patch) | |
| tree | 2acb338f21ff4a201a34fb2c34c1457d354b36e0 /CHANGELOG.md | |
| parent | 21c791e7c0b91ad984d1205d70398e426f7517d7 (diff) | |
populate: let git sources keep hooks, refuse them only for git+file:
git sources refused work trees with hooks, but populate's Git doesn't
run hooks, so git-foreign's work tree with a hook is fine to use, as it
expects. Only Nix's Git runs them, in a git+file: flake, so drawing
inputs refers to a work tree with hooks as path: instead.
Diffstat (limited to 'CHANGELOG.md')
| -rw-r--r-- | CHANGELOG.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 242bca3..2090a06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,11 +8,11 @@ and the other functions keep their arguments. - Git can't take a `git` source's `url` or `ref`, or a `pass` source's `name`, for an option. -- `git` sources also refuse work trees whose `.git` directory contains - hooks, or in which a submodule's `.git` isn't a file naming a repository - in `.git/modules`, unless `reclone` is set. +- `git` sources also refuse work trees in which a submodule's `.git` isn't + a file naming a repository in `.git/modules`, unless `reclone` is set. - Drawing inputs refers to a source in a Git work tree as `git+file:` only - if a `git` source would use its `.git` directory, and else as `path:`. + if a `git` source would use its `.git` directory, and it has no hooks, + and else as `path:`. - `git` sources with a branch or tag as `ref` follow it: populate fetches the branch or tag on every run, and resets the work tree to what it fetched. |
