Expand description
Algorithm to split changes in a single source commit into its most relevant ancestors, ‘absorbing’ them away.
Structs§
- Absorb
Source - The source commit to absorb into its ancestry.
- Absorb
Stats - Describes changes made by
absorb_hunks()
. - Selected
Trees - An absorb ‘plan’ indicating which commits should be modified and what they should be modified to.
Enums§
- Absorb
Error - 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.