Module branchless::core::rewrite
source · Expand description
Tools for editing the commit graph.
Modules
- Hooks used to have Git call back into
git-branchlessfor various functionality. - Testing helpers.
Structs
- Options used to build a rebase plan.
- Options to use when executing a
RebasePlan. - 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-branchlessrebase plan can move multiple unrelated subtrees to unrelated destinations. - A token representing that the rebase plan has been checked for validity.
- A thread-safe
Reporesource pool.
Enums
- An error caused when attempting to build a rebase plan.
- The result of executing a rebase plan.
- Information about a failure to merge that occurred while moving commits.
- What to suggest that the user do in order to resolve a merge conflict.
- Represents the target for certain
RebaseCommands. - A command that can be applied for either in-memory or on-disk rebases.
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-transactionhook when done.
Type Aliases
- Type synonym for
ResourcePool<RepoResource>.