{"action":"opened","issue":{"url":"https://api.github.com/repos/syohex/emacs-git-gutter/issues/86","labels_url":"https://api.github.com/repos/syohex/emacs-git-gutter/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/syohex/emacs-git-gutter/issues/86/comments","events_url":"https://api.github.com/repos/syohex/emacs-git-gutter/issues/86/events","html_url":"https://github.com/syohex/emacs-git-gutter/issues/86","id":66370600,"number":86,"title":"not always refreshing when commiting outside of emacs?","user":{"login":"emmanueltouzery","id":339433,"avatar_url":"https://avatars.githubusercontent.com/u/339433?v=3","gravatar_id":"","url":"https://api.github.com/users/emmanueltouzery","html_url":"https://github.com/emmanueltouzery","followers_url":"https://api.github.com/users/emmanueltouzery/followers","following_url":"https://api.github.com/users/emmanueltouzery/following{/other_user}","gists_url":"https://api.github.com/users/emmanueltouzery/gists{/gist_id}","starred_url":"https://api.github.com/users/emmanueltouzery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmanueltouzery/subscriptions","organizations_url":"https://api.github.com/users/emmanueltouzery/orgs","repos_url":"https://api.github.com/users/emmanueltouzery/repos","events_url":"https://api.github.com/users/emmanueltouzery/events{/privacy}","received_events_url":"https://api.github.com/users/emmanueltouzery/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-04T21:38:10Z","updated_at":"2015-04-04T21:38:10Z","closed_at":null,"body":"I'm not using (yet?) magit for committing, but rather commiting in a terminal outside of emacs.\r\nAs a result, git-gutter still reflects the status of before the commit, does not pick up the change.\r\n\r\nI have added this to my emacs config and was sure it would help, but it does not:\r\n  (require 'git-gutter)\r\n  (add-to-list 'git-gutter:update-hooks 'focus-in-hook)\r\n\r\nAlso when git-gutter is displaying obsolete information, running \"git-gutter:update-all-windows\" still does not get rid of the obsolete information.\r\n\r\nI'm pretty sure I misconfigured something... I'm using spacemacs otherwise, and I put the focus-in-hook thing in the:\r\n\r\n(defun dotspacemacs/config ()\r\n  \"Configuration function.\r\n This function is called at the very end of Spacemacs initialization after\r\nlayers configuration.\"\r\n"}}