diff options
| author | Junio C Hamano <gitster@pobox.com> | 2026-03-19 15:39:02 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-03-19 18:33:33 -0700 |
| commit | f64c50e76827f39c843102bc603817648a38a48c (patch) | |
| tree | 8f6deb59d11b9856d75f4038fbdf0270d35a3f62 /templates/hooks/commit-msg.sample | |
| parent | 753c8101b027f34359a921a8acb3abe7f10058c5 (diff) | |
| download | git-f64c50e76827f39c843102bc603817648a38a48c.tar.xz | |
cocci: strbuf.buf is never NULL
We recently noticed one old code from 19 years ago protecting
against an ancient strbuf convention that the .buf member can be
NULL for an empty strbuf. As that is no longer the case in the
modern codebase, let's catch such a construct.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates/hooks/commit-msg.sample')
0 files changed, 0 insertions, 0 deletions
