diff --git a/src/editor-component.coffee b/src/editor-component.coffee index 41e214db9..dd2191136 100644 --- a/src/editor-component.coffee +++ b/src/editor-component.coffee @@ -500,7 +500,7 @@ EditorComponent = React.createClass 'editor:fold-at-indent-level-9': -> editor.foldAllAtIndentLevel(8) 'editor:toggle-line-comments': -> editor.toggleLineCommentsInSelection() 'editor:log-cursor-scope': -> editor.logCursorScope() - 'editor:checkout-head-revision': -> editor.checkoutHead() + 'editor:checkout-head-revision': -> atom.project.getRepo()?.checkoutHeadForEditor(editor) 'editor:copy-path': -> editor.copyPathToClipboard() 'editor:move-line-up': -> editor.moveLineUp() 'editor:move-line-down': -> editor.moveLineDown()