contrib / coccinelle / xstrdup_or_null.coccion commit builtin/am: convert uses of EMPTY_TREE_SHA1_BIN to the_hash_algo (d41836a)
   1@@
   2expression E;
   3expression V;
   4@@
   5- if (E)
   6-    V = xstrdup(E);
   7+ V = xstrdup_or_null(E);
   8
   9@@
  10expression E;
  11@@
  12- xstrdup(absolute_path(E))
  13+ absolute_pathdup(E)