Expand description
Provide facilities to merge blobs, trees and commits.
- blob-merges look at file content.
- tree-merges look at trees and merge them structurally, triggering blob-merges as needed.
- commit-merges are like tree merges, but compute or create the merge-base on the fly.
Modules§
Functions§
- commit
- Like
tree(), but it takes only two commits,our_commitandtheir_committo automatically compute the merge-bases among them. If there are multiple merge bases, these will be auto-merged into one, recursively, ifallow_missing_merge_baseistrue. - tree
- Perform a merge between
our_treeandtheir_tree, usingbase_treeas merge-base. Note thatbase_treecan be an empty tree to indicate ‘no common ancestor between the two sides’.