mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
refactor!: use Oid instead of String for arguments
This commit is contained in:
parent
23787adc3a
commit
1972c6d1ab
39 changed files with 264 additions and 290 deletions
|
@ -43,7 +43,7 @@ void main() {
|
|||
for (var i = 0; i < operationsCount; i++) {
|
||||
final operation = rebase.next();
|
||||
expect(operation.type, GitRebaseOperation.pick);
|
||||
expect(operation.id.sha, shas[i]);
|
||||
expect(operation.oid.sha, shas[i]);
|
||||
expect(operation.exec, '');
|
||||
|
||||
rebase.commit(committer: signature);
|
||||
|
@ -74,7 +74,7 @@ void main() {
|
|||
repo: repo,
|
||||
branch: master.target,
|
||||
onto: feature.target,
|
||||
upstream: startCommit.id,
|
||||
upstream: startCommit.oid,
|
||||
);
|
||||
|
||||
final operationsCount = rebase.operationsCount;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue