mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
Fix hunk callback position.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user