Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 0a98a65a8e8e1f489f92eeb1568b957e > files > 743

git-core-2.21.1-1.mga7.armv7hl.rpm

@@
expression c;
@@
- &c->maybe_tree->object.oid
+ get_commit_tree_oid(c)

@@
expression c;
@@
- c->maybe_tree->object.oid.hash
+ get_commit_tree_oid(c)->hash

// These excluded functions must access c->maybe_tree direcly.
@@
identifier f !~ "^(get_commit_tree|get_commit_tree_in_graph_one|load_tree_for_commit)$";
expression c;
@@
  f(...) {<...
- c->maybe_tree
+ get_commit_tree(c)
  ...>}

@@
expression c;
expression s;
@@
- get_commit_tree(c) = s
+ c->maybe_tree = s