Skip to content

Commit 7bed394

Browse files
committed
Removed rebase no operation
Value being returned is int max of either 64 bit or 32 bit. Should just ignore this for now.
1 parent a25e275 commit 7bed394

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

test/tests/rebase.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ var Promise = require("nodegit-promise");
55
var promisify = require("promisify-node");
66
var fse = promisify(require("fs-extra"));
77

8-
// Libgit2 GIT_REBASE_NO_OPERATION assigns maximum uint64 value for no op.
9-
var REBASE_NO_OPERATION = 18446744073709552000;
10-
118
describe("Rebase", function() {
129
var NodeGit = require("../../");
1310

@@ -150,7 +147,6 @@ describe("Rebase", function() {
150147
})
151148
.then(function(rebase) {
152149
assert.equal(rebase.operationEntrycount(), 0);
153-
assert.equal(rebase.operationCurrent(), REBASE_NO_OPERATION);
154150

155151
return rebase.finish(ourSignature);
156152
})

0 commit comments

Comments
 (0)