Fix hunk callback position.

This commit is contained in:
joshaber
2015-12-14 20:27:10 -05:00
parent 8a91bfb209
commit 27afc76455

View File

@@ -727,7 +727,7 @@ export default class GitRepositoryAsync {
const hunkCallback = (delta, hunk, payload) => {
hunks.push(hunk)
}
return Git.Diff.blobToBuffer(blob, null, buffer, null, null, options, null, null, hunkCallback, null, null)
return Git.Diff.blobToBuffer(blob, null, buffer, null, options, null, null, hunkCallback, null)
.then(_ => hunks)
}