]> git.ipfire.org Git - thirdparty/git.git/commit
test-lib: add a few comments to LSan log checking
authorJeff King <peff@peff.net>
Tue, 7 Jan 2025 07:08:31 +0000 (02:08 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 7 Jan 2025 16:18:15 +0000 (08:18 -0800)
commit164a2516eb622fdf032ce526ec97e79a53bf2893
treee847c7785cf3dbff8779c2642b3e36497022699a
parentb9a9df93a3f5580c7f7b8cc099aad1c204ced8a4
test-lib: add a few comments to LSan log checking

Commit b119a687d4 (test-lib: ignore leaks in the sanitizer's thread
code, 2025-01-01) added code to suppress a false positive in the leak
checker. But if you're just reading the code, the obscure grep call is a
bit of a head-scratcher. Let's add a brief comment explaining what's
going on (and anybody digging further can find this commit or that one
for all the details).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh