diff options
Diffstat (limited to 'README')
| -rw-r--r-- | README | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -257,6 +257,13 @@ runs anywhere a compiler does, and it tests the real binary rather than a model of it: argument parsing, exit codes, messages, and the editing commands writing files. +Two facts do not come out of the line git passes, and the hook asks git for +them: which branch `HEAD` is, and whether `old` is an ancestor of `new`. Those +are covered with a stand-in named `git` in `PATH`, which answers to order and +lets the asking be tested without git - including the case where git is not +there at all, where the hook has to fail toward denying rather than toward +guessing. + `make clean && make sanitizer` runs both suites under AddressSanitizer and UBSan. Everything frees what it reads, which matters only because it keeps that run empty. |
