Module absorb

Source
Expand description

Algorithm to split changes in a single source commit into its most relevant ancestors, ‘absorbing’ them away.

Structs§

AbsorbSource
The source commit to absorb into its ancestry.
AbsorbStats
Describes changes made by absorb_hunks().
SelectedTrees
An absorb ‘plan’ indicating which commits should be modified and what they should be modified to.

Enums§

AbsorbError
Error splitting an absorb source into modified ancestry trees.

Functions§

absorb_hunks
Merges selected trees into the specified commits. Abandons the source commit if it becomes discardable.
split_hunks_to_trees
Builds trees to be merged into destination commits by splitting source changes based on file annotation.