Structs§
- Commit
Rewriter - Helps rewrite a commit.
- Commit
With Selection - Duplicate
Commits Stats - Move
Commits Stats - Rebase
Options - Controls the configuration of a rebase.
- Rewrite
Refs Options - Configuration for
MutableRepo::update_rewritten_references(). - Squashed
Commit - Resulting commit builder and stats to be returned by
squash_commits().
Enums§
Functions§
- duplicate_
commits - Duplicates the given
target_commitsonto a new location in the graph. - duplicate_
commits_ onto_ parents - Duplicates the given
target_commitsonto their original parents or other duplicated commits. - merge_
commit_ trees - Merges
commitsand tries to resolve any conflicts recursively. - merge_
commit_ trees_ no_ resolve_ without_ repo - Merges
commitswithout attempting to resolve file conflicts. - move_
commits - Moves
target_commitsfrom their current location to a new location in the graph. - rebase_
commit - rebase_
commit_ with_ options - rebase_
to_ dest_ parent - Moves changes from
sourcesto thedestinationparent, returns new tree. - restore_
tree - Restore matching paths from the source into the destination.
- squash_
commits - Squash
sourcesintodestinationand return aSquashedCommitfor the resulting commit. Caller is responsible for setting the description and finishing the commit.