]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'dd/cocci-do-not-pass-strbuf-by-value' into next
authorJunio C Hamano <gitster@pobox.com>
Wed, 18 Mar 2026 19:23:44 +0000 (12:23 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Mar 2026 19:23:44 +0000 (12:23 -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