mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Pull refresh outside the work function.
Otherwise we deadlock lolololol
This commit is contained in:
@@ -738,9 +738,9 @@ export default class GitRepositoryAsync {
|
||||
checkoutOptions.checkoutStrategy = Git.Checkout.STRATEGY.FORCE | Git.Checkout.STRATEGY.DISABLE_PATHSPEC_MATCH
|
||||
return Git.Checkout.head(repo, checkoutOptions)
|
||||
})
|
||||
.then(() => this.refreshStatusForPath(_path))
|
||||
})
|
||||
})
|
||||
.then(() => this.refreshStatusForPath(_path))
|
||||
}
|
||||
|
||||
// Public: Checks out a branch in your repository.
|
||||
|
||||
Reference in New Issue
Block a user