aboutsummaryrefslogtreecommitdiff
path: root/git-gui/lib/diff.tcl
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-03-19 15:39:02 -0700
committerJunio C Hamano <gitster@pobox.com>2026-03-19 18:33:33 -0700
commitf64c50e76827f39c843102bc603817648a38a48c (patch)
tree8f6deb59d11b9856d75f4038fbdf0270d35a3f62 /git-gui/lib/diff.tcl
parent753c8101b027f34359a921a8acb3abe7f10058c5 (diff)
downloadgit-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 'git-gui/lib/diff.tcl')
0 files changed, 0 insertions, 0 deletions