pub fn merge(
obj_store: &mut GitObjectStore,
commits_table: &mut CommitsTable,
commit_a_id: &str,
commit_b_id: &str,
author: &str,
) -> Result<MergeResult, MergeError>Expand description
Perform a 3-way merge between two commits.
- Find common ancestor
- Diff ancestor->A and ancestor->B
- Detect conflicts (same subject+predicate, different objects)
- If no conflicts, apply both diffs and create merge commit