]> Kevux Git Server - rit/commit
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)
commit253ddb6016077a86b86bedebb40635d81b5ab8e9
tree20290957c17839f52204274dc55e96d13ee4a36b
parentc006399b738ed602a67e6077403376a79c94bbe4
parent8f8e1b080701d4b02ca3732eed2706b1a5328c5d
Merge branch 'dd/cocci-do-not-pass-strbuf-by-value'

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