aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-13 14:01:19 +0000
committertv <tv@krebsco.de>2026-11-13 15:06:32 +0100
commit36cfd6b9fa8d729172f90e8fdd507349905d4f11 (patch)
tree93424f012ce3b538eab7550429cc654331476d25 /CHANGELOG.md
parent494b3127d82ea8139a6937a1064ea58f62bfe4bf (diff)
populate: follow branches and tags of git sources
A ref that consists of 4 to 40 hex digits is a commit, which populate fetches only if the work tree lacks it, unless fetchAlways is set. Any other ref is a branch or tag, which populate fetches on every run, resetting the work tree to the commit fetched. Resetting to the name itself resolves to a local branch, which fetching doesn't move.
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d120e39..78721ea 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
# Changes
+## Unreleased
+
+- `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.
+
## 1.31.0
- New source types `flake` and `flake-input` deliver a flake, or one input