diff options
| author | batsumaru <> | 2026-07-01 16:37:45 +0900 |
|---|---|---|
| committer | batsumaru <> | 2026-07-01 16:37:45 +0900 |
| commit | bb3567aa4bd5d03fcd0fa74eea42381f159227b0 (patch) | |
| tree | c5c92ce66eb0685839089553695fab9376da47f0 /statuspage | |
| parent | 379c858b8caedd81172bef94818287c973571a6f (diff) | |
Document the core.hooksPath setup for new clones
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'statuspage')
| -rw-r--r-- | statuspage/README.md | 6 |
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 |
