| 1709 | } |
| 1710 | |
| 1711 | static int write_rebase_head(struct object_id *oid) |
| 1712 | { |
| 1713 | if (refs_update_ref(get_main_ref_store(the_repository), "rebase", "REBASE_HEAD", oid, |
| 1714 | NULL, REF_NO_DEREF, UPDATE_REFS_MSG_ON_ERR)) |
| 1715 | return error(_("could not update %s"), "REBASE_HEAD"); |
| 1716 | |
| 1717 | return 0; |
| 1718 | } |
| 1719 | |
| 1720 | static int do_commit(struct repository *r, |
| 1721 | const char *msg_file, const char *author, |
no test coverage detected