MCPcopy Index your code
hub / github.com/git/git / write_rebase_head

Function write_rebase_head

sequencer.c:1711–1718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1709}
1710
1711static 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
1720static int do_commit(struct repository *r,
1721 const char *msg_file, const char *author,

Callers 3

do_commitFunction · 0.85
make_patchFunction · 0.85
pick_commitsFunction · 0.85

Calls 3

refs_update_refFunction · 0.85
get_main_ref_storeFunction · 0.85
errorFunction · 0.85

Tested by

no test coverage detected