{"action":"created","comment":{"url":"https://api.github.com/repos/jesseduffield/lazygit/pulls/comments/212226367","pull_request_review_id":148809868,"id":212226367,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMjIyNjM2Nw==","diff_hunk":"@@ -66,7 +67,7 @@ func (gui *Gui) handleStatusSelect(g *gocui.Gui, v *gocui.View) error {\n \n func (gui *Gui) handleOpenConfig(g *gocui.Gui, v *gocui.View) error {\n \tfilename := gui.Config.GetUserConfig().ConfigFileUsed()\n-\treturn gui.genericFileOpen(g, v, filename, gui.OSCommand.OpenFile)\n+\treturn gui.genericFileOpen(g, v, filename, func(filename string) (*exec.Cmd, error) { return nil, gui.OSCommand.OpenFile(filename) })","path":"pkg/gui/status_panel.go","position":13,"original_position":13,"commit_id":"5b2bcce65d115c15c186dcc9fdb73f31e0ef5564","original_commit_id":"5b2bcce65d115c15c186dcc9fdb73f31e0ef5564","user":{"login":"jesseduffield","id":8456633,"node_id":"MDQ6VXNlcjg0NTY2MzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8456633?v=4","gravatar_id":"","url":"https://api.github.com/users/jesseduffield","html_url":"https://github.com/jesseduffield","followers_url":"https://api.github.com/users/jesseduffield/followers","following_url":"https://api.github.com/users/jesseduffield/following{/other_user}","gists_url":"https://api.github.com/users/jesseduffield/gists{/gist_id}","starred_url":"https://api.github.com/users/jesseduffield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesseduffield/subscriptions","organizations_url":"https://api.github.com/users/jesseduffield/orgs","repos_url":"https://api.github.com/users/jesseduffield/repos","events_url":"https://api.github.com/users/jesseduffield/events{/privacy}","received_events_url":"https://api.github.com/users/jesseduffield/received_events","type":"User","site_admin":false},"body":"see above comment; this could just be `return gui.openFile(filename)`","created_at":"2018-08-23T08:39:19Z","updated_at":"2018-08-23T08:39:19Z","html_url":"https://github.com/jesseduffield/lazygit/pull/206#discussion_r212226367","pull_request_url":"https://api.github.com/repos/jesseduffield/lazygit/pulls/206","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/jesseduffield/lazygit/pulls/comments/212226367"},"html":{"href":"https://github.com/jesseduffield/lazygit/pull/206#discussion_r212226367"},"pull_request":{"href":"https://api.github.com/repos/jesseduffield/lazygit/pulls/206"}}},"pull_request":{"url":"https://api.github.com/repos/jesseduffield/lazygit/pulls/206","id":209959134,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5OTU5MTM0","html_url":"https://github.com/jesseduffield/lazygit/pull/206","diff_url":"https://github.com/jesseduffield/lazygit/pull/206.diff","patch_url":"https://github.com/jesseduffield/lazygit/pull/206.patch","issue_url":"https://api.github.com/repos/jesseduffield/lazygit/issues/206","number":206,"state":"open","locked":false,"title":"Add test to pkg/commands, refactor some methods","user":{"login":"antham","id":4854264,"node_id":"MDQ6VXNlcjQ4NTQyNjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/4854264?v=4","gravatar_id":"","url":"https://api.github.com/users/antham","html_url":"https://github.com/antham","followers_url":"https://api.github.com/users/antham/followers","following_url":"https://api.github.com/users/antham/following{/other_user}","gists_url":"https://api.github.com/users/antham/gists{/gist_id}","starred_url":"https://api.github.com/users/antham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antham/subscriptions","organizations_url":"https://api.github.com/users/antham/orgs","repos_url":"https://api.github.com/users/antham/repos","events_url":"https://api.github.com/users/antham/events{/privacy}","received_events_url":"https://api.github.com/users/antham/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-21T21:19:26Z","updated_at":"2018-08-23T08:39:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dc980f8e3e247625cca920ec4d932c8d09c7a6f4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/jesseduffield/lazygit/pulls/206/commits","review_comments_url":"https://api.github.com/repos/jesseduffield/lazygit/pulls/206/comments","review_comment_url":"https://api.github.com/repos/jesseduffield/lazygit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jesseduffield/lazygit/issues/206/comments","statuses_url":"https://api.github.com/repos/jesseduffield/lazygit/statuses/5b2bcce65d115c15c186dcc9fdb73f31e0ef5564","head":{"label":"antham:add-pkg-commands-test","ref":"add-pkg-commands-test","sha":"5b2bcce65d115c15c186dcc9fdb73f31e0ef5564","user":{"login":"antham","id":4854264,"node_id":"MDQ6VXNlcjQ4NTQyNjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/4854264?v=4","gravatar_id":"","url":"https://api.github.com/users/antham","html_url":"https://github.com/antham","followers_url":"https://api.github.com/users/antham/followers","following_url":"https://api.github.com/users/antham/following{/other_user}","gists_url":"https://api.github.com/users/antham/gists{/gist_id}","starred_url":"https://api.github.com/users/antham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antham/subscriptions","organizations_url":"https://api.github.com/users/antham/orgs","repos_url":"https://api.github.com/users/antham/repos","events_url":"https://api.github.com/users/antham/events{/privacy}","received_events_url":"https://api.github.com/users/antham/received_events","type":"User","site_admin":false},"repo":{"id":143681506,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM2ODE1MDY=","name":"lazygit","full_name":"antham/lazygit","owner":{"login":"antham","id":4854264,"node_id":"MDQ6VXNlcjQ4NTQyNjQ=","avatar_url":"https://avatars0.githubusercontent.com/u/4854264?v=4","gravatar_id":"","url":"https://api.github.com/users/antham","html_url":"https://github.com/antham","followers_url":"https://api.github.com/users/antham/followers","following_url":"https://api.github.com/users/antham/following{/other_user}","gists_url":"https://api.github.com/users/antham/gists{/gist_id}","starred_url":"https://api.github.com/users/antham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antham/subscriptions","organizations_url":"https://api.github.com/users/antham/orgs","repos_url":"https://api.github.com/users/antham/repos","events_url":"https://api.github.com/users/antham/events{/privacy}","received_events_url":"https://api.github.com/users/antham/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/antham/lazygit","description":"simple terminal UI for git commands","fork":true,"url":"https://api.github.com/repos/antham/lazygit","forks_url":"https://api.github.com/repos/antham/lazygit/forks","keys_url":"https://api.github.com/repos/antham/lazygit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/antham/lazygit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/antham/lazygit/teams","hooks_url":"https://api.github.com/repos/antham/lazygit/hooks","issue_events_url":"https://api.github.com/repos/antham/lazygit/issues/events{/number}","events_url":"https://api.github.com/repos/antham/lazygit/events","assignees_url":"https://api.github.com/repos/antham/lazygit/assignees{/user}","branches_url":"https://api.github.com/repos/antham/lazygit/branches{/branch}","tags_url":"https://api.github.com/repos/antham/lazygit/tags","blobs_url":"https://api.github.com/repos/antham/lazygit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/antham/lazygit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/antham/lazygit/git/refs{/sha}","trees_url":"https://api.github.com/repos/antham/lazygit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/antham/lazygit/statuses/{sha}","languages_url":"https://api.github.com/repos/antham/lazygit/languages","stargazers_url":"https://api.github.com/repos/antham/lazygit/stargazers","contributors_url":"https://api.github.com/repos/antham/lazygit/contributors","subscribers_url":"https://api.github.com/repos/antham/lazygit/subscribers","subscription_url":"https://api.github.com/repos/antham/lazygit/subscription","commits_url":"https://api.github.com/repos/antham/lazygit/commits{/sha}","git_commits_url":"https://api.github.com/repos/antham/lazygit/git/commits{/sha}","comments_url":"https://api.github.com/repos/antham/lazygit/comments{/number}","issue_comment_url":"https://api.github.com/repos/antham/lazygit/issues/comments{/number}","contents_url":"https://api.github.com/repos/antham/lazygit/contents/{+path}","compare_url":"https://api.github.com/repos/antham/lazygit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/antham/lazygit/merges","archive_url":"https://api.github.com/repos/antham/lazygit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/antham/lazygit/downloads","issues_url":"https://api.github.com/repos/antham/lazygit/issues{/number}","pulls_url":"https://api.github.com/repos/antham/lazygit/pulls{/number}","milestones_url":"https://api.github.com/repos/antham/lazygit/milestones{/number}","notifications_url":"https://api.github.com/repos/antham/lazygit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/antham/lazygit/labels{/name}","releases_url":"https://api.github.com/repos/antham/lazygit/releases{/id}","deployments_url":"https://api.github.com/repos/antham/lazygit/deployments","created_at":"2018-08-06T05:43:00Z","updated_at":"2018-08-19T18:21:27Z","pushed_at":"2018-08-23T05:55:37Z","git_url":"git://github.com/antham/lazygit.git","ssh_url":"git@github.com:antham/lazygit.git","clone_url":"https://github.com/antham/lazygit.git","svn_url":"https://github.com/antham/lazygit","homepage":null,"size":7320,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jesseduffield:master","ref":"master","sha":"2cdd439286c8cd1bf9afa6ea1b0d9a2e8502b690","user":{"login":"jesseduffield","id":8456633,"node_id":"MDQ6VXNlcjg0NTY2MzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8456633?v=4","gravatar_id":"","url":"https://api.github.com/users/jesseduffield","html_url":"https://github.com/jesseduffield","followers_url":"https://api.github.com/users/jesseduffield/followers","following_url":"https://api.github.com/users/jesseduffield/following{/other_user}","gists_url":"https://api.github.com/users/jesseduffield/gists{/gist_id}","starred_url":"https://api.github.com/users/jesseduffield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesseduffield/subscriptions","organizations_url":"https://api.github.com/users/jesseduffield/orgs","repos_url":"https://api.github.com/users/jesseduffield/repos","events_url":"https://api.github.com/users/jesseduffield/events{/privacy}","received_events_url":"https://api.github.com/users/jesseduffield/received_events","type":"User","site_admin":false},"repo":{"id":134017286,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQwMTcyODY=","name":"lazygit","full_name":"jesseduffield/lazygit","owner":{"login":"jesseduffield","id":8456633,"node_id":"MDQ6VXNlcjg0NTY2MzM=","avatar_url":"https://avatars0.githubusercontent.com/u/8456633?v=4","gravatar_id":"","url":"https://api.github.com/users/jesseduffield","html_url":"https://github.com/jesseduffield","followers_url":"https://api.github.com/users/jesseduffield/followers","following_url":"https://api.github.com/users/jesseduffield/following{/other_user}","gists_url":"https://api.github.com/users/jesseduffield/gists{/gist_id}","starred_url":"https://api.github.com/users/jesseduffield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jesseduffield/subscriptions","organizations_url":"https://api.github.com/users/jesseduffield/orgs","repos_url":"https://api.github.com/users/jesseduffield/repos","events_url":"https://api.github.com/users/jesseduffield/events{/privacy}","received_events_url":"https://api.github.com/users/jesseduffield/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jesseduffield/lazygit","description":"simple terminal UI for git commands","fork":false,"url":"https://api.github.com/repos/jesseduffield/lazygit","forks_url":"https://api.github.com/repos/jesseduffield/lazygit/forks","keys_url":"https://api.github.com/repos/jesseduffield/lazygit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jesseduffield/lazygit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jesseduffield/lazygit/teams","hooks_url":"https://api.github.com/repos/jesseduffield/lazygit/hooks","issue_events_url":"https://api.github.com/repos/jesseduffield/lazygit/issues/events{/number}","events_url":"https://api.github.com/repos/jesseduffield/lazygit/events","assignees_url":"https://api.github.com/repos/jesseduffield/lazygit/assignees{/user}","branches_url":"https://api.github.com/repos/jesseduffield/lazygit/branches{/branch}","tags_url":"https://api.github.com/repos/jesseduffield/lazygit/tags","blobs_url":"https://api.github.com/repos/jesseduffield/lazygit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jesseduffield/lazygit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jesseduffield/lazygit/git/refs{/sha}","trees_url":"https://api.github.com/repos/jesseduffield/lazygit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jesseduffield/lazygit/statuses/{sha}","languages_url":"https://api.github.com/repos/jesseduffield/lazygit/languages","stargazers_url":"https://api.github.com/repos/jesseduffield/lazygit/stargazers","contributors_url":"https://api.github.com/repos/jesseduffield/lazygit/contributors","subscribers_url":"https://api.github.com/repos/jesseduffield/lazygit/subscribers","subscription_url":"https://api.github.com/repos/jesseduffield/lazygit/subscription","commits_url":"https://api.github.com/repos/jesseduffield/lazygit/commits{/sha}","git_commits_url":"https://api.github.com/repos/jesseduffield/lazygit/git/commits{/sha}","comments_url":"https://api.github.com/repos/jesseduffield/lazygit/comments{/number}","issue_comment_url":"https://api.github.com/repos/jesseduffield/lazygit/issues/comments{/number}","contents_url":"https://api.github.com/repos/jesseduffield/lazygit/contents/{+path}","compare_url":"https://api.github.com/repos/jesseduffield/lazygit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jesseduffield/lazygit/merges","archive_url":"https://api.github.com/repos/jesseduffield/lazygit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jesseduffield/lazygit/downloads","issues_url":"https://api.github.com/repos/jesseduffield/lazygit/issues{/number}","pulls_url":"https://api.github.com/repos/jesseduffield/lazygit/pulls{/number}","milestones_url":"https://api.github.com/repos/jesseduffield/lazygit/milestones{/number}","notifications_url":"https://api.github.com/repos/jesseduffield/lazygit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jesseduffield/lazygit/labels{/name}","releases_url":"https://api.github.com/repos/jesseduffield/lazygit/releases{/id}","deployments_url":"https://api.github.com/repos/jesseduffield/lazygit/deployments","created_at":"2018-05-19T00:53:06Z","updated_at":"2018-08-23T07:35:23Z","pushed_at":"2018-08-23T05:55:38Z","git_url":"git://github.com/jesseduffield/lazygit.git","ssh_url":"git@github.com:jesseduffield/lazygit.git","clone_url":"https://github.com/jesseduffield/lazygit.git","svn_url":"https://github.com/jesseduffield/lazygit","homepage":null,"size":8503,"stargazers_count":8800,"watchers_count":8800,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":239,"mirror_url":null,"archived":false,"open_issues_count":44,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":239,"open_issues":44,"watchers":8800,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jesseduffield/lazygit/pulls/206"},"html":{"href":"https://github.com/jesseduffield/lazygit/pull/206"},"issue":{"href":"https://api.github.com/repos/jesseduffield/lazygit/issues/206"},"comments":{"href":"https://api.github.com/repos/jesseduffield/lazygit/issues/206/comments"},"review_comments":{"href":"https://api.github.com/repos/jesseduffield/lazygit/pulls/206/comments"},"review_comment":{"href":"https://api.github.com/repos/jesseduffield/lazygit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jesseduffield/lazygit/pulls/206/commits"},"statuses":{"href":"https://api.github.com/repos/jesseduffield/lazygit/statuses/5b2bcce65d115c15c186dcc9fdb73f31e0ef5564"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jesseduffield"}}