MCPcopy Create free account
hub / github.com/git/git / collect_one_reflog_ent

Function collect_one_reflog_ent

commit.c:1078–1092  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1076}
1077
1078static int collect_one_reflog_ent(const char *refname UNUSED,
1079 struct object_id *ooid, struct object_id *noid,
1080 const char *ident UNUSED,
1081 timestamp_t timestamp UNUSED, int tz UNUSED,
1082 const char *message UNUSED, void *cbdata)
1083{
1084 struct rev_collect *revs = cbdata;
1085
1086 if (revs->initial) {
1087 revs->initial = 0;
1088 add_one_commit(ooid, revs);
1089 }
1090 add_one_commit(noid, revs);
1091 return 0;
1092}
1093
1094struct commit *get_fork_point(const char *refname, struct commit *commit)
1095{

Callers

nothing calls this directly

Calls 1

add_one_commitFunction · 0.85

Tested by

no test coverage detected