Module branchless::core::rewrite
source · [−]Expand description
Tools for editing the commit graph.
Modules
Hooks used to have Git call back into
git-branchless
for various functionality.Structs
Options used to build a rebase plan.
Options to use when executing a
RebasePlan
.Information about a merge conflict that occurred while moving commits.
Represents a sequence of commands that can be executed to carry out a rebase
operation.
Builder for a rebase plan. Unlike regular Git rebases, a
git-branchless
rebase plan can move multiple unrelated subtrees to unrelated destinations.A token representing that the rebase plan has been checked for validity.
A thread-safe
Repo
resource pool.Enums
An error caused when attempting to build a rebase plan.
The result of executing a rebase plan.
What to suggest that the user do in order to resolve a merge conflict.
Functions
Execute the provided rebase plan. Returns the exit status (zero indicates
success).
Find commits which have been “abandoned” in the commit graph.
For a rewritten commit, find the newest version of the commit.
Given a list of rewritten OIDs, move the branches attached to those OIDs
from their old commits to their new commits. Invoke the
reference-transaction
hook when done.Type Definitions
Type synonym for
ResourcePool<RepoResource>
.