mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
And again.
This commit is contained in:
@@ -660,6 +660,11 @@ export default class GitRepositoryAsync {
|
||||
}
|
||||
return this._diffBlobToBuffer(blob, text, options)
|
||||
})
|
||||
.catch(e => {
|
||||
// NB: I don't love this, but we're matching the behavior of
|
||||
// `GitRepository` here for API compatibility.
|
||||
return {}
|
||||
})
|
||||
}
|
||||
|
||||
// Checking Out
|
||||
|
||||
Reference in New Issue
Block a user