aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-16 11:20:03 +0200
committerDanilo M. <danix@danix.xyz>2026-10-16 11:20:03 +0200
commit02f7797aaf6ab9e5c4a2a89ab0efb33b43349e90 (patch)
tree5a841156d6556fa53ea2f9f6c28934bcc288d550 /docs
parent2bde0952fd03d09d5ef8b1c2dcf39aa77e8762b8 (diff)
downloadquickshell-02f7797aaf6ab9e5c4a2a89ab0efb33b43349e90.tar.gz
quickshell-02f7797aaf6ab9e5c4a2a89ab0efb33b43349e90.zip
docs(git): the git config page, and replace-all appending on no match
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/superpowers/specs/2026-10-16-git-config-design.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/superpowers/specs/2026-10-16-git-config-design.md b/docs/superpowers/specs/2026-10-16-git-config-design.md
index e9975fc..4d463d7 100644
--- a/docs/superpowers/specs/2026-10-16-git-config-design.md
+++ b/docs/superpowers/specs/2026-10-16-git-config-design.md
@@ -39,7 +39,9 @@ reimplement git's quoting.
- `add <key> <value>`: `git config --global --add <key> <value>`.
- `unset <key> <value>`: `git config --global --fixed-value --unset <key>
<value>`. Removes only that value.
- - git's stderr passes through and its exit status is the helper's.
+ - A write prints nothing on success; on failure, git's message on stdout
+ (for the page) and exit 1. `set` and `unset` first check the old value
+ is still there: `--replace-all` with no match appends and exits 0.
- `Git.js` (`.pragma library`): `parse(text)` turns the `-z` output into
`[{section, key, value}]` in file order, `section` being everything before
the last dot (`color.branch.remote` is section `color.branch`). Tested by