mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 12:49:08 -04:00
refactor(merge)!: move merge related methods into Merge class (#41)
This commit is contained in:
parent
e7c18c35e2
commit
570c696269
8 changed files with 393 additions and 348 deletions
|
@ -115,7 +115,7 @@ List<int> analysis({
|
|||
return result;
|
||||
}
|
||||
|
||||
/// Merges the given commit(s) into HEAD, writing the results into the working
|
||||
/// Merges the given commit into HEAD, writing the results into the working
|
||||
/// directory. Any changes are staged for commit and any conflicts are written
|
||||
/// to the index. Callers should inspect the repository's index after this
|
||||
/// completes, resolve any conflicts and prepare a commit.
|
||||
|
@ -285,7 +285,7 @@ Pointer<git_index> mergeCommits({
|
|||
}
|
||||
}
|
||||
|
||||
/// Merge two trees, producing a git_index that reflects the result of the
|
||||
/// Merge two trees, producing an index that reflects the result of the
|
||||
/// merge. The index may be written as-is to the working directory or checked
|
||||
/// out. If the index is to be converted to a tree, the caller should resolve
|
||||
/// any conflicts that arose as part of the merge.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue