diff options
| author | tv <tv@krebsco.de> | 2026-11-13 21:19:23 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-13 22:21:15 +0100 |
| commit | a74582d4f1563c1251f34002c12feffe4a3e5200 (patch) | |
| tree | b29e1e43678eb1202dc765acf64fea7a39878d8b /CHANGELOG.md | |
| parent | 8f131b09955a6760bdb55fc4b6280170be13641a (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 730a9d1..23171e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,11 +8,11 @@ login directory. - 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. |
