Use .openExt instead of .open.

Use openExt to open the repository so we get the same repo-searching
behavior we had with git-utils.
This commit is contained in:
joshaber
2016-01-04 11:26:58 -05:00
parent 449c1e6a69
commit 07eebdccb8

View File

@@ -34,7 +34,7 @@ export default class GitRepositoryAsync {
this.emitter = new Emitter()
this.subscriptions = new CompositeDisposable()
this.pathStatusCache = {}
this.repoPromise = Git.Repository.open(_path)
this.repoPromise = Git.Repository.openExt(_path)
this.isCaseInsensitive = fs.isCaseInsensitive()
this.upstreamByPath = {}