Skip to content

Commit 7b49a2e

Browse files
docs(redact): note config-key value must be comma-separated, no spaces
gstack-config reads values whitespace-delimited, so a space after a comma silently drops the trailing globs. Document it and steer multi-glob users to the committed .gstack/redact-prepush-ignore file (one glob per line). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent f00d3c1 commit 7b49a2e

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

CLAUDE.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,8 @@ determined leaker (a CHANGELOG line that does would fail a hostile screenshotter
476476
the committed, reviewable `.gstack/redact-prepush-ignore` file at the repo root
477477
(one glob per line, `#` comments — the recommended mechanism, shared across
478478
contributors and visible in git history) and the machine-local
479-
`redact_prepush_ignore_globs` config key. Globs match repo-root-relative paths
479+
`redact_prepush_ignore_globs` config key (comma-separated, no spaces — for
480+
several globs prefer the committed file). Globs match repo-root-relative paths
480481
(`**` spans directories, e.g. `prospecting/exports/**/*.csv`); matched paths are
481482
dropped from the scanned diff via a git `:(exclude)` pathspec. Every exemption
482483
prints a one-line stderr notice (how many paths / bytes were skipped) — an

bin/gstack-config

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,12 @@ CONFIG_HEADER='# gstack configuration — edit freely, changes take effect on ne
109109
# # An exemption is always reported on stderr at push
110110
# # time; non-ignored files still fail closed. `**`
111111
# # spans directories, e.g.
112-
# # prospecting/exports/**/*.csv,data/**/*.parquet
112+
# # prospecting/exports/**/*.parquet,data/**/*.csv
113+
# # NOTE: comma-separated, NO spaces (config values are
114+
# # whitespace-delimited on read — a space would drop
115+
# # the trailing globs). For several globs, prefer the
116+
# # committed .gstack/redact-prepush-ignore file
117+
# # (one glob per line).
113118
#
114119
# ─── Workspace-aware ship ────────────────────────────────────────────
115120
# workspace_root: $HOME/conductor/workspaces # Where /ship looks for sibling

0 commit comments

Comments
 (0)