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_commits
onto a new location in the graph. - duplicate_
commits_ onto_ parents - Duplicates the given
target_commits
onto their original parents or other duplicated commits. - merge_
commit_ trees - Merges
commits
and tries to resolve any conflicts recursively. - merge_
commit_ trees_ no_ resolve_ without_ repo - Merges
commits
without attempting to resolve file conflicts. - move_
commits - Moves
target_commits
from their current location to a new location in the graph. - rebase_
commit - rebase_
commit_ with_ options - rebase_
to_ dest_ parent - Moves changes from
sources
to thedestination
parent, returns new tree. - restore_
tree - Restore matching paths from the source into the destination.
- squash_
commits - Squash
sources
intodestination
and return aSquashedCommit
for the resulting commit. Caller is responsible for setting the description and finishing the commit.