From ef581c93f391919b35b903b93af45f33d90de15d Mon Sep 17 00:00:00 2001 From: tv Date: Fri, 13 Nov 2026 20:27:48 +0000 Subject: populate: keep URLs, refs, and names from being taken for options A git source's url and ref are strings, and git clone, git remote, and git fetch took ones starting with - for options, e.g. --upload-pack, which runs a command where the repository is local. They come after -- now, and so does a pass source's name for git log and pass show. git-ref-option gives a ref that git fetch would take for --upload-pack. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index af40bb0..7f5f2c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ as JSON. The store gets one program for each version of krops, instead of a script for each set of arguments. `pkgs.populate`, `writeDeploy`, 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 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. -- cgit v1.3.1