summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README7
1 files changed, 7 insertions, 0 deletions
diff --git a/README b/README
index f795411..b2bb0a0 100644
--- a/README
+++ b/README
@@ -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.