MCPcopy Index your code
hub / github.com/git/git / patch_id_iter_first

Function patch_id_iter_first

patch-ids.c:100–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100struct patch_id *patch_id_iter_first(struct commit *commit,
101 struct patch_ids *ids)
102{
103 struct patch_id patch;
104
105 if (!patch_id_defined(commit))
106 return NULL;
107
108 memset(&patch, 0, sizeof(patch));
109 if (init_patch_id_entry(&patch, commit, ids))
110 return NULL;
111
112 return hashmap_get_entry(&ids->patches, &patch, ent, NULL);
113}
114
115struct patch_id *patch_id_iter_next(struct patch_id *cur,
116 struct patch_ids *ids)

Callers 3

cherry_pick_listFunction · 0.85
has_commit_patch_idFunction · 0.85
prefetch_cherry_blobsFunction · 0.85

Calls 2

patch_id_definedFunction · 0.85
init_patch_id_entryFunction · 0.85

Tested by

no test coverage detected