mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29: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
|
@ -189,7 +189,7 @@ void main() {
|
|||
test('cleans up state', () {
|
||||
expect(repo.state, GitRepositoryState.none);
|
||||
final commit = Commit.lookup(repo: repo, oid: repo['5aecfa0']);
|
||||
repo.cherryPick(commit);
|
||||
Merge.cherryPick(repo: repo, commit: commit);
|
||||
|
||||
expect(repo.state, GitRepositoryState.cherrypick);
|
||||
repo.stateCleanup();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue