Patrick Steinhardt <ps@xxxxxx> writes: >> Which would mean that we do not need a separate "other_head" >> variable, and instead can use "MERGE_HEAD". > > There is no need for this, is there? We have already resolved the ref to > an object ID, so why not use that via `add_pending_oid()`? add_pending_oid() and its callees use the name only for human consumption (e.g., in error messages), as they all already have the object name.