| 1263 | } |
| 1264 | |
| 1265 | void check_for_new_submodule_commits(struct object_id *oid) |
| 1266 | { |
| 1267 | if (!initialized_fetch_ref_tips) { |
| 1268 | refs_for_each_ref(get_main_ref_store(the_repository), |
| 1269 | append_oid_to_array, &ref_tips_before_fetch); |
| 1270 | initialized_fetch_ref_tips = 1; |
| 1271 | } |
| 1272 | |
| 1273 | oid_array_append(&ref_tips_after_fetch, oid); |
| 1274 | } |
| 1275 | |
| 1276 | /* |
| 1277 | * Returns 1 if there is at least one submodule gitdir in |
no test coverage detected