mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
This can be local.
This commit is contained in:
@@ -399,11 +399,10 @@ export default class GitRepositoryAsync {
|
||||
// value can be passed to {::isStatusModified} or {::isStatusNew} to get more
|
||||
// information.
|
||||
getDirectoryStatus (directoryPath) {
|
||||
let relativePath
|
||||
// XXX _filterSBD already gets repoPromise
|
||||
return this.repoPromise
|
||||
.then(repo => {
|
||||
relativePath = this.relativize(directoryPath, repo.workdir())
|
||||
const relativePath = this.relativize(directoryPath, repo.workdir())
|
||||
return this._filterStatusesByDirectory(relativePath)
|
||||
})
|
||||
.then(statuses => {
|
||||
|
||||
Reference in New Issue
Block a user