{"action":"created","comment":{"url":"https://api.github.com/repos/magit/libegit2/pulls/comments/224774706","pull_request_review_id":164229167,"id":224774706,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDc3NDcwNg==","diff_hunk":"@@ -352,4 +362,12 @@ void egit_init(emacs_env *env)\n \n     // Revparse\n     DEFUN(\"libgit-revparse-single\", revparse_single, 2, 2);\n+\n+    // Branch\n+    DEFUN(\"libgit-branch-create\", branch_create, 3, 4);\n+    DEFUN(\"libgit-branch-create-from-annotated\", branch_create_from_annotated, 3, 4);\n+    DEFUN(\"libgit-branch-delete\", branch_delete, 2, 2);\n+    DEFUN(\"libgit-branch-is-checked-out\", branch_is_checked_out, 2, 2);\n+    DEFUN(\"libgit-branch-is-head\", branch_is_head, 2, 2);\n+    DEFUN(\"libgit-lookup\", branch_lookup, 2, 3);","path":"src/egit.c","position":42,"original_position":42,"commit_id":"3066035f9ee2494d61a42bae2ae2205ef740b599","original_commit_id":"3066035f9ee2494d61a42bae2ae2205ef740b599","user":{"login":"oyvindrobertsen","id":273406,"node_id":"MDQ6VXNlcjI3MzQwNg==","avatar_url":"https://avatars3.githubusercontent.com/u/273406?v=4","gravatar_id":"","url":"https://api.github.com/users/oyvindrobertsen","html_url":"https://github.com/oyvindrobertsen","followers_url":"https://api.github.com/users/oyvindrobertsen/followers","following_url":"https://api.github.com/users/oyvindrobertsen/following{/other_user}","gists_url":"https://api.github.com/users/oyvindrobertsen/gists{/gist_id}","starred_url":"https://api.github.com/users/oyvindrobertsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oyvindrobertsen/subscriptions","organizations_url":"https://api.github.com/users/oyvindrobertsen/orgs","repos_url":"https://api.github.com/users/oyvindrobertsen/repos","events_url":"https://api.github.com/users/oyvindrobertsen/events{/privacy}","received_events_url":"https://api.github.com/users/oyvindrobertsen/received_events","type":"User","site_admin":false},"body":"Should these be libgit-branch-head-p and libgit-branch-checkout-out-p? As per the readme.","created_at":"2018-10-12T12:58:41Z","updated_at":"2018-10-12T12:58:41Z","html_url":"https://github.com/magit/libegit2/pull/14#discussion_r224774706","pull_request_url":"https://api.github.com/repos/magit/libegit2/pulls/14","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/magit/libegit2/pulls/comments/224774706"},"html":{"href":"https://github.com/magit/libegit2/pull/14#discussion_r224774706"},"pull_request":{"href":"https://api.github.com/repos/magit/libegit2/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/magit/libegit2/pulls/14","id":221967466,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxOTY3NDY2","html_url":"https://github.com/magit/libegit2/pull/14","diff_url":"https://github.com/magit/libegit2/pull/14.diff","patch_url":"https://github.com/magit/libegit2/pull/14.patch","issue_url":"https://api.github.com/repos/magit/libegit2/issues/14","number":14,"state":"open","locked":false,"title":"Add egit_branch functions","user":{"login":"paulbdavis","id":2730634,"node_id":"MDQ6VXNlcjI3MzA2MzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2730634?v=4","gravatar_id":"","url":"https://api.github.com/users/paulbdavis","html_url":"https://github.com/paulbdavis","followers_url":"https://api.github.com/users/paulbdavis/followers","following_url":"https://api.github.com/users/paulbdavis/following{/other_user}","gists_url":"https://api.github.com/users/paulbdavis/gists{/gist_id}","starred_url":"https://api.github.com/users/paulbdavis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulbdavis/subscriptions","organizations_url":"https://api.github.com/users/paulbdavis/orgs","repos_url":"https://api.github.com/users/paulbdavis/repos","events_url":"https://api.github.com/users/paulbdavis/events{/privacy}","received_events_url":"https://api.github.com/users/paulbdavis/received_events","type":"User","site_admin":false},"body":"Initial work in implementing this\r\n\r\nCurrently the test is failing but I am not quite sure how to debug the output.","created_at":"2018-10-10T23:54:14Z","updated_at":"2018-10-12T12:58:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a8e7e6d1cd2a5b7cc35bc7afd59e9fe825a9c97","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":915971130,"node_id":"MDU6TGFiZWw5MTU5NzExMzA=","url":"https://api.github.com/repos/magit/libegit2/labels/wip","name":"wip","color":"eab667","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/magit/libegit2/pulls/14/commits","review_comments_url":"https://api.github.com/repos/magit/libegit2/pulls/14/comments","review_comment_url":"https://api.github.com/repos/magit/libegit2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/magit/libegit2/issues/14/comments","statuses_url":"https://api.github.com/repos/magit/libegit2/statuses/3066035f9ee2494d61a42bae2ae2205ef740b599","head":{"label":"dangersalad:master","ref":"master","sha":"3066035f9ee2494d61a42bae2ae2205ef740b599","user":{"login":"dangersalad","id":2730578,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3MzA1Nzg=","avatar_url":"https://avatars0.githubusercontent.com/u/2730578?v=4","gravatar_id":"","url":"https://api.github.com/users/dangersalad","html_url":"https://github.com/dangersalad","followers_url":"https://api.github.com/users/dangersalad/followers","following_url":"https://api.github.com/users/dangersalad/following{/other_user}","gists_url":"https://api.github.com/users/dangersalad/gists{/gist_id}","starred_url":"https://api.github.com/users/dangersalad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dangersalad/subscriptions","organizations_url":"https://api.github.com/users/dangersalad/orgs","repos_url":"https://api.github.com/users/dangersalad/repos","events_url":"https://api.github.com/users/dangersalad/events{/privacy}","received_events_url":"https://api.github.com/users/dangersalad/received_events","type":"Organization","site_admin":false},"repo":{"id":152502567,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI1MDI1Njc=","name":"libegit2","full_name":"dangersalad/libegit2","private":false,"owner":{"login":"dangersalad","id":2730578,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3MzA1Nzg=","avatar_url":"https://avatars0.githubusercontent.com/u/2730578?v=4","gravatar_id":"","url":"https://api.github.com/users/dangersalad","html_url":"https://github.com/dangersalad","followers_url":"https://api.github.com/users/dangersalad/followers","following_url":"https://api.github.com/users/dangersalad/following{/other_user}","gists_url":"https://api.github.com/users/dangersalad/gists{/gist_id}","starred_url":"https://api.github.com/users/dangersalad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dangersalad/subscriptions","organizations_url":"https://api.github.com/users/dangersalad/orgs","repos_url":"https://api.github.com/users/dangersalad/repos","events_url":"https://api.github.com/users/dangersalad/events{/privacy}","received_events_url":"https://api.github.com/users/dangersalad/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/dangersalad/libegit2","description":"Emacs bindings for libgit2","fork":true,"url":"https://api.github.com/repos/dangersalad/libegit2","forks_url":"https://api.github.com/repos/dangersalad/libegit2/forks","keys_url":"https://api.github.com/repos/dangersalad/libegit2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dangersalad/libegit2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dangersalad/libegit2/teams","hooks_url":"https://api.github.com/repos/dangersalad/libegit2/hooks","issue_events_url":"https://api.github.com/repos/dangersalad/libegit2/issues/events{/number}","events_url":"https://api.github.com/repos/dangersalad/libegit2/events","assignees_url":"https://api.github.com/repos/dangersalad/libegit2/assignees{/user}","branches_url":"https://api.github.com/repos/dangersalad/libegit2/branches{/branch}","tags_url":"https://api.github.com/repos/dangersalad/libegit2/tags","blobs_url":"https://api.github.com/repos/dangersalad/libegit2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dangersalad/libegit2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dangersalad/libegit2/git/refs{/sha}","trees_url":"https://api.github.com/repos/dangersalad/libegit2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dangersalad/libegit2/statuses/{sha}","languages_url":"https://api.github.com/repos/dangersalad/libegit2/languages","stargazers_url":"https://api.github.com/repos/dangersalad/libegit2/stargazers","contributors_url":"https://api.github.com/repos/dangersalad/libegit2/contributors","subscribers_url":"https://api.github.com/repos/dangersalad/libegit2/subscribers","subscription_url":"https://api.github.com/repos/dangersalad/libegit2/subscription","commits_url":"https://api.github.com/repos/dangersalad/libegit2/commits{/sha}","git_commits_url":"https://api.github.com/repos/dangersalad/libegit2/git/commits{/sha}","comments_url":"https://api.github.com/repos/dangersalad/libegit2/comments{/number}","issue_comment_url":"https://api.github.com/repos/dangersalad/libegit2/issues/comments{/number}","contents_url":"https://api.github.com/repos/dangersalad/libegit2/contents/{+path}","compare_url":"https://api.github.com/repos/dangersalad/libegit2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dangersalad/libegit2/merges","archive_url":"https://api.github.com/repos/dangersalad/libegit2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dangersalad/libegit2/downloads","issues_url":"https://api.github.com/repos/dangersalad/libegit2/issues{/number}","pulls_url":"https://api.github.com/repos/dangersalad/libegit2/pulls{/number}","milestones_url":"https://api.github.com/repos/dangersalad/libegit2/milestones{/number}","notifications_url":"https://api.github.com/repos/dangersalad/libegit2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dangersalad/libegit2/labels{/name}","releases_url":"https://api.github.com/repos/dangersalad/libegit2/releases{/id}","deployments_url":"https://api.github.com/repos/dangersalad/libegit2/deployments","created_at":"2018-10-10T23:28:15Z","updated_at":"2018-10-12T01:59:50Z","pushed_at":"2018-10-12T02:12:31Z","git_url":"git://github.com/dangersalad/libegit2.git","ssh_url":"git@github.com:dangersalad/libegit2.git","clone_url":"https://github.com/dangersalad/libegit2.git","svn_url":"https://github.com/dangersalad/libegit2","homepage":"","size":137,"stargazers_count":0,"watchers_count":0,"language":"C","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":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"magit:master","ref":"master","sha":"c6674c7f4e3260201e88730d77f1ba5c274f0739","user":{"login":"magit","id":750076,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1MDA3Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/750076?v=4","gravatar_id":"","url":"https://api.github.com/users/magit","html_url":"https://github.com/magit","followers_url":"https://api.github.com/users/magit/followers","following_url":"https://api.github.com/users/magit/following{/other_user}","gists_url":"https://api.github.com/users/magit/gists{/gist_id}","starred_url":"https://api.github.com/users/magit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magit/subscriptions","organizations_url":"https://api.github.com/users/magit/orgs","repos_url":"https://api.github.com/users/magit/repos","events_url":"https://api.github.com/users/magit/events{/privacy}","received_events_url":"https://api.github.com/users/magit/received_events","type":"Organization","site_admin":false},"repo":{"id":130121191,"node_id":"MDEwOlJlcG9zaXRvcnkxMzAxMjExOTE=","name":"libegit2","full_name":"magit/libegit2","private":false,"owner":{"login":"magit","id":750076,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1MDA3Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/750076?v=4","gravatar_id":"","url":"https://api.github.com/users/magit","html_url":"https://github.com/magit","followers_url":"https://api.github.com/users/magit/followers","following_url":"https://api.github.com/users/magit/following{/other_user}","gists_url":"https://api.github.com/users/magit/gists{/gist_id}","starred_url":"https://api.github.com/users/magit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magit/subscriptions","organizations_url":"https://api.github.com/users/magit/orgs","repos_url":"https://api.github.com/users/magit/repos","events_url":"https://api.github.com/users/magit/events{/privacy}","received_events_url":"https://api.github.com/users/magit/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/magit/libegit2","description":"Emacs bindings for libgit2","fork":false,"url":"https://api.github.com/repos/magit/libegit2","forks_url":"https://api.github.com/repos/magit/libegit2/forks","keys_url":"https://api.github.com/repos/magit/libegit2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/magit/libegit2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/magit/libegit2/teams","hooks_url":"https://api.github.com/repos/magit/libegit2/hooks","issue_events_url":"https://api.github.com/repos/magit/libegit2/issues/events{/number}","events_url":"https://api.github.com/repos/magit/libegit2/events","assignees_url":"https://api.github.com/repos/magit/libegit2/assignees{/user}","branches_url":"https://api.github.com/repos/magit/libegit2/branches{/branch}","tags_url":"https://api.github.com/repos/magit/libegit2/tags","blobs_url":"https://api.github.com/repos/magit/libegit2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/magit/libegit2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/magit/libegit2/git/refs{/sha}","trees_url":"https://api.github.com/repos/magit/libegit2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/magit/libegit2/statuses/{sha}","languages_url":"https://api.github.com/repos/magit/libegit2/languages","stargazers_url":"https://api.github.com/repos/magit/libegit2/stargazers","contributors_url":"https://api.github.com/repos/magit/libegit2/contributors","subscribers_url":"https://api.github.com/repos/magit/libegit2/subscribers","subscription_url":"https://api.github.com/repos/magit/libegit2/subscription","commits_url":"https://api.github.com/repos/magit/libegit2/commits{/sha}","git_commits_url":"https://api.github.com/repos/magit/libegit2/git/commits{/sha}","comments_url":"https://api.github.com/repos/magit/libegit2/comments{/number}","issue_comment_url":"https://api.github.com/repos/magit/libegit2/issues/comments{/number}","contents_url":"https://api.github.com/repos/magit/libegit2/contents/{+path}","compare_url":"https://api.github.com/repos/magit/libegit2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/magit/libegit2/merges","archive_url":"https://api.github.com/repos/magit/libegit2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/magit/libegit2/downloads","issues_url":"https://api.github.com/repos/magit/libegit2/issues{/number}","pulls_url":"https://api.github.com/repos/magit/libegit2/pulls{/number}","milestones_url":"https://api.github.com/repos/magit/libegit2/milestones{/number}","notifications_url":"https://api.github.com/repos/magit/libegit2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/magit/libegit2/labels{/name}","releases_url":"https://api.github.com/repos/magit/libegit2/releases{/id}","deployments_url":"https://api.github.com/repos/magit/libegit2/deployments","created_at":"2018-04-18T20:58:37Z","updated_at":"2018-10-12T01:23:40Z","pushed_at":"2018-10-12T02:09:48Z","git_url":"git://github.com/magit/libegit2.git","ssh_url":"git@github.com:magit/libegit2.git","clone_url":"https://github.com/magit/libegit2.git","svn_url":"https://github.com/magit/libegit2","homepage":"","size":131,"stargazers_count":43,"watchers_count":43,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":18,"open_issues":8,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/magit/libegit2/pulls/14"},"html":{"href":"https://github.com/magit/libegit2/pull/14"},"issue":{"href":"https://api.github.com/repos/magit/libegit2/issues/14"},"comments":{"href":"https://api.github.com/repos/magit/libegit2/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/magit/libegit2/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/magit/libegit2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/magit/libegit2/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/magit/libegit2/statuses/3066035f9ee2494d61a42bae2ae2205ef740b599"}},"author_association":"NONE"}}
{"actor":{"display_login":"oyvindrobertsen"}}