]> git.ipfire.org Git - thirdparty/git.git/commit
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)
commita2ffed1127d51bf53bc3790ae513c337698e6c5b
tree9379c0af2879d8418a44beaf8b3803739f5a9047
parent8a410154ff73f0904e269bd08f4e6caf10f7e552
parent8f8e1b080701d4b02ca3732eed2706b1a5328c5d
Merge branch 'dd/cocci-do-not-pass-strbuf-by-value' into next

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
builtin/stash.c