From e12fc6e1c14afaab8711c6c9ac695ce911d83df5 Mon Sep 17 00:00:00 2001 From: dev Date: Fri, 13 Nov 2026 21:33:11 +0000 Subject: README: what grant does with a file that is not there, and one that does not parse --- README | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README b/README index 52b059e..25aea1e 100644 --- a/README +++ b/README @@ -178,6 +178,10 @@ operator laid out. `grant` collapses several rules for the same user and repository into one line, in the place of the first, because the strongest wins and a second rule that does nothing is a trap for the next reader. +A file that does not exist yet is started, with the grammar written at the top of +it; a file that does not parse is refused, because editing something the parser +cannot read would rewrite the parts that parse and keep the damage. + The deployed file is a read-only mount - a ConfigMap - by design: the hook should not be able to change who can push, and neither should whatever else runs as uid 1000. These commands are for the copy in git. Pointed at a read-only file they -- cgit v1.2.3