mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Consolidate Git status checking
Now the status bar and tree view both listen for status change events and use the cached information available from the git object to update their views.
This commit is contained in:
@@ -69,9 +69,11 @@ window.shutdown = ->
|
||||
rootView: rootView.serialize()
|
||||
rootView.deactivate()
|
||||
project.destroy()
|
||||
git?.destroy()
|
||||
$(window).off('focus blur before')
|
||||
window.rootView = null
|
||||
window.project = null
|
||||
window.git = null
|
||||
|
||||
window.installAtomCommand = (commandPath) ->
|
||||
return if fs.exists(commandPath)
|
||||
|
||||
Reference in New Issue
Block a user