__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
@@
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
@@
identifier f !~ "^set_commit_tree$";
expression c;
expression s;
@@
f(...) {<...
- c->maybe_tree = s
+ set_commit_tree(c, s)
...>}
// These excluded functions must access c->maybe_tree directly.
// Note that if c->maybe_tree is written somewhere outside of these
// functions, then the recommended transformation will be bogus with
// repo_get_commit_tree() on the LHS.
@@
identifier f !~ "^(repo_get_commit_tree|get_commit_tree_in_graph_one|load_tree_for_commit|set_commit_tree)$";
expression c;
@@
f(...) {<...
- c->maybe_tree
+ repo_get_commit_tree(specify_the_right_repo_here, c)
...>}
@@
struct commit *c;
expression E;
@@
(
- c->generation = E;
+ commit_graph_data_at(c)->generation = E;
|
- c->graph_pos = E;
+ commit_graph_data_at(c)->graph_pos = E;
|
- c->generation
+ commit_graph_generation(c)
|
- c->graph_pos
+ commit_graph_position(c)
)
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| tests | Folder | 0755 |
|
|
| README | File | 5.77 KB | 0644 |
|
| array.cocci | File | 2.2 KB | 0644 |
|
| commit.cocci | File | 1 KB | 0644 |
|
| config_fn_ctx.pending.cocci | File | 2.03 KB | 0644 |
|
| equals-null.cocci | File | 218 B | 0644 |
|
| flex_alloc.cocci | File | 266 B | 0644 |
|
| free.cocci | File | 362 B | 0644 |
|
| git_config_number.cocci | File | 226 B | 0644 |
|
| hashmap.cocci | File | 254 B | 0644 |
|
| index-compatibility.cocci | File | 1.79 KB | 0644 |
|
| object_id.cocci | File | 1.1 KB | 0644 |
|
| preincr.cocci | File | 36 B | 0644 |
|
| qsort.cocci | File | 610 B | 0644 |
|
| spatchcache | File | 7.29 KB | 0644 |
|
| strbuf.cocci | File | 843 B | 0644 |
|
| swap.cocci | File | 257 B | 0644 |
|
| the_repository.cocci | File | 1.78 KB | 0644 |
|
| xcalloc.cocci | File | 96 B | 0644 |
|
| xopen.cocci | File | 295 B | 0644 |
|
| xstrdup_or_null.cocci | File | 70 B | 0644 |
|