{"action":"created","comment":{"url":"https://api.github.com/repos/libgit2/objective-git/pulls/comments/51573956","id":51573956,"diff_hunk":"@@ -54,6 +55,17 @@ NS_ASSUME_NONNULL_BEGIN\n /// The underlying `git_object` as a `git_commit` object.\n - (git_commit *)git_commit __attribute__((objc_returns_inner_pointer));\n \n+/// Merges the given commit into the receiver in memory and produces the result as\n+/// an index.\n+///\n+/// otherTree    - The commit with which the receiver should be merged with. Cannot be\n+///                nil.\n+/// error        - The error if one occurred.\n+///\n+/// Returns an index which represents the result of the merge, or nil if an error\n+/// occurred.\n+- (nullable GTIndex *)merge:(GTCommit *)otherCommit error:(NSError **)error;","path":"ObjectiveGit/GTCommit.h","position":21,"original_position":21,"commit_id":"79139f06e34158ea4a083d701f1aee2aa21e7691","original_commit_id":"0df3e1f7b5266995a3d2030ad5fbc2c7c02c82d9","user":{"login":"pietbrauer","id":759730,"avatar_url":"https://avatars.githubusercontent.com/u/759730?v=3","gravatar_id":"","url":"https://api.github.com/users/pietbrauer","html_url":"https://github.com/pietbrauer","followers_url":"https://api.github.com/users/pietbrauer/followers","following_url":"https://api.github.com/users/pietbrauer/following{/other_user}","gists_url":"https://api.github.com/users/pietbrauer/gists{/gist_id}","starred_url":"https://api.github.com/users/pietbrauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pietbrauer/subscriptions","organizations_url":"https://api.github.com/users/pietbrauer/orgs","repos_url":"https://api.github.com/users/pietbrauer/repos","events_url":"https://api.github.com/users/pietbrauer/events{/privacy}","received_events_url":"https://api.github.com/users/pietbrauer/received_events","type":"User","site_admin":false},"body":"Ah sorry, just saw the macro.","created_at":"2016-02-02T14:25:22Z","updated_at":"2016-02-02T14:25:22Z","html_url":"https://github.com/libgit2/objective-git/pull/549#discussion_r51573956","pull_request_url":"https://api.github.com/repos/libgit2/objective-git/pulls/549","_links":{"self":{"href":"https://api.github.com/repos/libgit2/objective-git/pulls/comments/51573956"},"html":{"href":"https://github.com/libgit2/objective-git/pull/549#discussion_r51573956"},"pull_request":{"href":"https://api.github.com/repos/libgit2/objective-git/pulls/549"}}},"pull_request":{"url":"https://api.github.com/repos/libgit2/objective-git/pulls/549","id":57991714,"html_url":"https://github.com/libgit2/objective-git/pull/549","diff_url":"https://github.com/libgit2/objective-git/pull/549.diff","patch_url":"https://github.com/libgit2/objective-git/pull/549.patch","issue_url":"https://api.github.com/repos/libgit2/objective-git/issues/549","number":549,"state":"open","locked":false,"title":"Moar wrapper functions","user":{"login":"slavikus","id":143051,"avatar_url":"https://avatars.githubusercontent.com/u/143051?v=3","gravatar_id":"","url":"https://api.github.com/users/slavikus","html_url":"https://github.com/slavikus","followers_url":"https://api.github.com/users/slavikus/followers","following_url":"https://api.github.com/users/slavikus/following{/other_user}","gists_url":"https://api.github.com/users/slavikus/gists{/gist_id}","starred_url":"https://api.github.com/users/slavikus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slavikus/subscriptions","organizations_url":"https://api.github.com/users/slavikus/orgs","repos_url":"https://api.github.com/users/slavikus/repos","events_url":"https://api.github.com/users/slavikus/events{/privacy}","received_events_url":"https://api.github.com/users/slavikus/received_events","type":"User","site_admin":false},"body":"Added wrappers for git_diff_index_to_index() and git_merge_commits().","created_at":"2016-02-02T14:13:54Z","updated_at":"2016-02-02T14:25:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8601849ffbf8866d1cb5ceba125a8d88001f42cf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/libgit2/objective-git/pulls/549/commits","review_comments_url":"https://api.github.com/repos/libgit2/objective-git/pulls/549/comments","review_comment_url":"https://api.github.com/repos/libgit2/objective-git/pulls/comments{/number}","comments_url":"https://api.github.com/repos/libgit2/objective-git/issues/549/comments","statuses_url":"https://api.github.com/repos/libgit2/objective-git/statuses/79139f06e34158ea4a083d701f1aee2aa21e7691","head":{"label":"slavikus:master","ref":"master","sha":"79139f06e34158ea4a083d701f1aee2aa21e7691","user":{"login":"slavikus","id":143051,"avatar_url":"https://avatars.githubusercontent.com/u/143051?v=3","gravatar_id":"","url":"https://api.github.com/users/slavikus","html_url":"https://github.com/slavikus","followers_url":"https://api.github.com/users/slavikus/followers","following_url":"https://api.github.com/users/slavikus/following{/other_user}","gists_url":"https://api.github.com/users/slavikus/gists{/gist_id}","starred_url":"https://api.github.com/users/slavikus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slavikus/subscriptions","organizations_url":"https://api.github.com/users/slavikus/orgs","repos_url":"https://api.github.com/users/slavikus/repos","events_url":"https://api.github.com/users/slavikus/events{/privacy}","received_events_url":"https://api.github.com/users/slavikus/received_events","type":"User","site_admin":false},"repo":{"id":40138200,"name":"objective-git","full_name":"slavikus/objective-git","owner":{"login":"slavikus","id":143051,"avatar_url":"https://avatars.githubusercontent.com/u/143051?v=3","gravatar_id":"","url":"https://api.github.com/users/slavikus","html_url":"https://github.com/slavikus","followers_url":"https://api.github.com/users/slavikus/followers","following_url":"https://api.github.com/users/slavikus/following{/other_user}","gists_url":"https://api.github.com/users/slavikus/gists{/gist_id}","starred_url":"https://api.github.com/users/slavikus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slavikus/subscriptions","organizations_url":"https://api.github.com/users/slavikus/orgs","repos_url":"https://api.github.com/users/slavikus/repos","events_url":"https://api.github.com/users/slavikus/events{/privacy}","received_events_url":"https://api.github.com/users/slavikus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/slavikus/objective-git","description":"Objective-C bindings to libgit2","fork":true,"url":"https://api.github.com/repos/slavikus/objective-git","forks_url":"https://api.github.com/repos/slavikus/objective-git/forks","keys_url":"https://api.github.com/repos/slavikus/objective-git/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slavikus/objective-git/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slavikus/objective-git/teams","hooks_url":"https://api.github.com/repos/slavikus/objective-git/hooks","issue_events_url":"https://api.github.com/repos/slavikus/objective-git/issues/events{/number}","events_url":"https://api.github.com/repos/slavikus/objective-git/events","assignees_url":"https://api.github.com/repos/slavikus/objective-git/assignees{/user}","branches_url":"https://api.github.com/repos/slavikus/objective-git/branches{/branch}","tags_url":"https://api.github.com/repos/slavikus/objective-git/tags","blobs_url":"https://api.github.com/repos/slavikus/objective-git/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slavikus/objective-git/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slavikus/objective-git/git/refs{/sha}","trees_url":"https://api.github.com/repos/slavikus/objective-git/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slavikus/objective-git/statuses/{sha}","languages_url":"https://api.github.com/repos/slavikus/objective-git/languages","stargazers_url":"https://api.github.com/repos/slavikus/objective-git/stargazers","contributors_url":"https://api.github.com/repos/slavikus/objective-git/contributors","subscribers_url":"https://api.github.com/repos/slavikus/objective-git/subscribers","subscription_url":"https://api.github.com/repos/slavikus/objective-git/subscription","commits_url":"https://api.github.com/repos/slavikus/objective-git/commits{/sha}","git_commits_url":"https://api.github.com/repos/slavikus/objective-git/git/commits{/sha}","comments_url":"https://api.github.com/repos/slavikus/objective-git/comments{/number}","issue_comment_url":"https://api.github.com/repos/slavikus/objective-git/issues/comments{/number}","contents_url":"https://api.github.com/repos/slavikus/objective-git/contents/{+path}","compare_url":"https://api.github.com/repos/slavikus/objective-git/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slavikus/objective-git/merges","archive_url":"https://api.github.com/repos/slavikus/objective-git/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slavikus/objective-git/downloads","issues_url":"https://api.github.com/repos/slavikus/objective-git/issues{/number}","pulls_url":"https://api.github.com/repos/slavikus/objective-git/pulls{/number}","milestones_url":"https://api.github.com/repos/slavikus/objective-git/milestones{/number}","notifications_url":"https://api.github.com/repos/slavikus/objective-git/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slavikus/objective-git/labels{/name}","releases_url":"https://api.github.com/repos/slavikus/objective-git/releases{/id}","deployments_url":"https://api.github.com/repos/slavikus/objective-git/deployments","created_at":"2015-08-03T17:23:20Z","updated_at":"2016-01-22T13:13:54Z","pushed_at":"2016-02-02T14:19:20Z","git_url":"git://github.com/slavikus/objective-git.git","ssh_url":"git@github.com:slavikus/objective-git.git","clone_url":"https://github.com/slavikus/objective-git.git","svn_url":"https://github.com/slavikus/objective-git","homepage":"","size":61167,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"libgit2:master","ref":"master","sha":"bc11b5074b8ded4facae95ca63b40277d2187ea5","user":{"login":"libgit2","id":394745,"avatar_url":"https://avatars.githubusercontent.com/u/394745?v=3","gravatar_id":"","url":"https://api.github.com/users/libgit2","html_url":"https://github.com/libgit2","followers_url":"https://api.github.com/users/libgit2/followers","following_url":"https://api.github.com/users/libgit2/following{/other_user}","gists_url":"https://api.github.com/users/libgit2/gists{/gist_id}","starred_url":"https://api.github.com/users/libgit2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libgit2/subscriptions","organizations_url":"https://api.github.com/users/libgit2/orgs","repos_url":"https://api.github.com/users/libgit2/repos","events_url":"https://api.github.com/users/libgit2/events{/privacy}","received_events_url":"https://api.github.com/users/libgit2/received_events","type":"Organization","site_admin":false},"repo":{"id":1427977,"name":"objective-git","full_name":"libgit2/objective-git","owner":{"login":"libgit2","id":394745,"avatar_url":"https://avatars.githubusercontent.com/u/394745?v=3","gravatar_id":"","url":"https://api.github.com/users/libgit2","html_url":"https://github.com/libgit2","followers_url":"https://api.github.com/users/libgit2/followers","following_url":"https://api.github.com/users/libgit2/following{/other_user}","gists_url":"https://api.github.com/users/libgit2/gists{/gist_id}","starred_url":"https://api.github.com/users/libgit2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libgit2/subscriptions","organizations_url":"https://api.github.com/users/libgit2/orgs","repos_url":"https://api.github.com/users/libgit2/repos","events_url":"https://api.github.com/users/libgit2/events{/privacy}","received_events_url":"https://api.github.com/users/libgit2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libgit2/objective-git","description":"Objective-C bindings to libgit2","fork":false,"url":"https://api.github.com/repos/libgit2/objective-git","forks_url":"https://api.github.com/repos/libgit2/objective-git/forks","keys_url":"https://api.github.com/repos/libgit2/objective-git/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libgit2/objective-git/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libgit2/objective-git/teams","hooks_url":"https://api.github.com/repos/libgit2/objective-git/hooks","issue_events_url":"https://api.github.com/repos/libgit2/objective-git/issues/events{/number}","events_url":"https://api.github.com/repos/libgit2/objective-git/events","assignees_url":"https://api.github.com/repos/libgit2/objective-git/assignees{/user}","branches_url":"https://api.github.com/repos/libgit2/objective-git/branches{/branch}","tags_url":"https://api.github.com/repos/libgit2/objective-git/tags","blobs_url":"https://api.github.com/repos/libgit2/objective-git/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libgit2/objective-git/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libgit2/objective-git/git/refs{/sha}","trees_url":"https://api.github.com/repos/libgit2/objective-git/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libgit2/objective-git/statuses/{sha}","languages_url":"https://api.github.com/repos/libgit2/objective-git/languages","stargazers_url":"https://api.github.com/repos/libgit2/objective-git/stargazers","contributors_url":"https://api.github.com/repos/libgit2/objective-git/contributors","subscribers_url":"https://api.github.com/repos/libgit2/objective-git/subscribers","subscription_url":"https://api.github.com/repos/libgit2/objective-git/subscription","commits_url":"https://api.github.com/repos/libgit2/objective-git/commits{/sha}","git_commits_url":"https://api.github.com/repos/libgit2/objective-git/git/commits{/sha}","comments_url":"https://api.github.com/repos/libgit2/objective-git/comments{/number}","issue_comment_url":"https://api.github.com/repos/libgit2/objective-git/issues/comments{/number}","contents_url":"https://api.github.com/repos/libgit2/objective-git/contents/{+path}","compare_url":"https://api.github.com/repos/libgit2/objective-git/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libgit2/objective-git/merges","archive_url":"https://api.github.com/repos/libgit2/objective-git/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libgit2/objective-git/downloads","issues_url":"https://api.github.com/repos/libgit2/objective-git/issues{/number}","pulls_url":"https://api.github.com/repos/libgit2/objective-git/pulls{/number}","milestones_url":"https://api.github.com/repos/libgit2/objective-git/milestones{/number}","notifications_url":"https://api.github.com/repos/libgit2/objective-git/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libgit2/objective-git/labels{/name}","releases_url":"https://api.github.com/repos/libgit2/objective-git/releases{/id}","deployments_url":"https://api.github.com/repos/libgit2/objective-git/deployments","created_at":"2011-03-01T21:28:58Z","updated_at":"2016-02-01T17:27:21Z","pushed_at":"2016-02-02T14:19:21Z","git_url":"git://github.com/libgit2/objective-git.git","ssh_url":"git@github.com:libgit2/objective-git.git","clone_url":"https://github.com/libgit2/objective-git.git","svn_url":"https://github.com/libgit2/objective-git","homepage":"","size":63949,"stargazers_count":791,"watchers_count":791,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":192,"mirror_url":null,"open_issues_count":18,"forks":192,"open_issues":18,"watchers":791,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/libgit2/objective-git/pulls/549"},"html":{"href":"https://github.com/libgit2/objective-git/pull/549"},"issue":{"href":"https://api.github.com/repos/libgit2/objective-git/issues/549"},"comments":{"href":"https://api.github.com/repos/libgit2/objective-git/issues/549/comments"},"review_comments":{"href":"https://api.github.com/repos/libgit2/objective-git/pulls/549/comments"},"review_comment":{"href":"https://api.github.com/repos/libgit2/objective-git/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/libgit2/objective-git/pulls/549/commits"},"statuses":{"href":"https://api.github.com/repos/libgit2/objective-git/statuses/79139f06e34158ea4a083d701f1aee2aa21e7691"}}}}