completion: add --skip for cherry-pick and revert
[git/git.git] / contrib / coccinelle / flex_alloc.cocci
CommitLineData
0cf2b0a0
DL
1@@
2expression str;
3identifier x, flexname;
4@@
5- FLEX_ALLOC_MEM(x, flexname, str, strlen(str));
6+ FLEX_ALLOC_STR(x, flexname, str);
7
8@@
9expression str;
10identifier x, ptrname;
11@@
12- FLEXPTR_ALLOC_MEM(x, ptrname, str, strlen(str));
13+ FLEXPTR_ALLOC_STR(x, ptrname, str);