Documentation/git-update-index: explain splitIndex.*
[git.git] / contrib / coccinelle / xstrdup_or_null.cocci
blob3fceef132bf57623e04a080d03da9aff951f1c11
1 @@
2 expression E;
3 expression V;
4 @@
5 - if (E)
6 -    V = xstrdup(E);
7 + V = xstrdup_or_null(E);