| 1076 | } |
| 1077 | |
| 1078 | static 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 | |
| 1094 | struct commit *get_fork_point(const char *refname, struct commit *commit) |
| 1095 | { |
nothing calls this directly
no test coverage detected