Give conf writes a backup, a lock and a read-back before they count
These files are gitignored, so a bad write had nothing to go back to; the escaping order also stored any value containing a quote truncated but still parseable, which only a read-back can catch.
This commit is contained in:
+4
-1
@@ -3,7 +3,10 @@
|
||||
# Templates (*.template) are safe and remain tracked.
|
||||
Configurations/host*.conf
|
||||
Configurations/master.conf
|
||||
Configurations/*.bak
|
||||
# *.bak alone missed conf_upgrade's real output — it writes host1.conf.bak-20260802, which does
|
||||
# not end in .bak — so those sat untracked rather than ignored, one `git add -A` from being
|
||||
# pushed. The glob has to cover the suffix.
|
||||
Configurations/*.bak*
|
||||
.vscode
|
||||
|
||||
# ── Personal scratch notes — dev-only, never pushed ───────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user