And again.

This commit is contained in:
joshaber
2016-03-14 16:40:55 -04:00
parent 50f8f8e7e9
commit a2a6ed05c5

View File

@@ -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