completion: add --skip for cherry-pick and revert
[git/git.git] / contrib / coccinelle / xstrdup_or_null.cocci
CommitLineData
13092a91
JH
1@@
2expression E;
3expression V;
4@@
5- if (E)
6- V = xstrdup(E);
7+ V = xstrdup_or_null(E);
b1edb40f
RS
8
9@@
10expression E;
11@@
12- xstrdup(absolute_path(E))
13+ absolute_pathdup(E)