Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'master' into remove-commit-tree
  • Loading branch information
rcjsuen committed Dec 29, 2018
commit 0583a1dc276f499001967733bdec9ff8a2929f5e
5 changes: 4 additions & 1 deletion test/tests/diff.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,10 @@ describe("Diff", function() {
return test.repository.getHeadCommit();
})
.then(function(headCommit) {
return headCommit.tree();
return Promise.all([
headCommit.tree(),
test.repository.index()
]);
})
.then(function([headTree, index]) {
const diffOptions = new NodeGit.DiffOptions();
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.