summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbatsumaru <>2026-07-01 16:37:45 +0900
committerbatsumaru <>2026-07-01 16:37:45 +0900
commitbb3567aa4bd5d03fcd0fa74eea42381f159227b0 (patch)
treec5c92ce66eb0685839089553695fab9376da47f0
parent379c858b8caedd81172bef94818287c973571a6f (diff)
Document the core.hooksPath setup for new clones
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
-rw-r--r--statuspage/README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/statuspage/README.md b/statuspage/README.md
index 2b1026d..3b83a81 100644
--- a/statuspage/README.md
+++ b/statuspage/README.md
@@ -63,6 +63,12 @@ That's it - no changes to `render.sh`, no template edits. It picks up any
executable `checks/*.sh` file automatically and renders whatever sections
it finds.
+If you're on a checkout where `core.fileMode` is `false` (Windows - see
+below), `git add` alone won't mark a new script executable. Run `git
+config core.hooksPath .githooks` once per clone and a pre-commit hook
+will fix the bit on any staged `*.sh` file automatically; otherwise use
+`git update-index --chmod=+x <file>` by hand before committing.
+
### Jails are auto-discovered, not one script per jail
`checks/jails.sh` is the exception to "one script per metric" - instead of