]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'dd/cocci-do-not-pass-strbuf-by-value'
authorJunio C Hamano <gitster@pobox.com>
Tue, 24 Mar 2026 19:31:34 +0000 (12:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 24 Mar 2026 19:31:34 +0000 (12:31 -0700)
Add a coccinelle rule to break the build when "struct strbuf" gets
passed by value.

* dd/cocci-do-not-pass-strbuf-by-value:
  stash: do not pass strbuf by value
  coccinelle: detect struct strbuf passed by value

1  2 
builtin/stash.c

diff --cc builtin/stash.c
Simple merge