mirror of
https://github.com/atom/atom.git
synced 2026-02-08 05:35:04 -05:00
Merge pull request #9213 from atom/dh-async-repo
Async Git Repository class
This commit is contained in:
@@ -706,7 +706,7 @@ class TextEditor extends Model
|
||||
checkoutHead = =>
|
||||
@project.repositoryForDirectory(new Directory(@getDirectoryPath()))
|
||||
.then (repository) =>
|
||||
repository?.checkoutHeadForEditor(this)
|
||||
repository?.async.checkoutHeadForEditor(this)
|
||||
|
||||
if @config.get('editor.confirmCheckoutHeadRevision')
|
||||
@applicationDelegate.confirm
|
||||
|
||||
Reference in New Issue
Block a user