| 1590 | } |
| 1591 | |
| 1592 | static int verify_merge_base(struct object_id *head_oid, struct ref *remote) |
| 1593 | { |
| 1594 | struct commit *head = lookup_commit_or_die(head_oid, "HEAD"); |
| 1595 | struct commit *branch = lookup_commit_or_die(&remote->old_oid, |
| 1596 | remote->name); |
| 1597 | int ret = repo_in_merge_bases(the_repository, branch, head); |
| 1598 | |
| 1599 | if (ret < 0) |
| 1600 | exit(128); |
| 1601 | return ret; |
| 1602 | } |
| 1603 | |
| 1604 | static int delete_remote_branch(const char *pattern, int force) |
| 1605 | { |
no test coverage detected