{"action":"opened","number":4891,"pull_request":{"url":"https://api.github.com/repos/libgit2/libgit2/pulls/4891","id":231738376,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxNzM4Mzc2","html_url":"https://github.com/libgit2/libgit2/pull/4891","diff_url":"https://github.com/libgit2/libgit2/pull/4891.diff","patch_url":"https://github.com/libgit2/libgit2/pull/4891.patch","issue_url":"https://api.github.com/repos/libgit2/libgit2/issues/4891","number":4891,"state":"open","locked":false,"title":"refs: add support for core.logAllRefUpdates=always","user":{"login":"tiennou","id":81099,"node_id":"MDQ6VXNlcjgxMDk5","avatar_url":"https://avatars1.githubusercontent.com/u/81099?v=4","gravatar_id":"","url":"https://api.github.com/users/tiennou","html_url":"https://github.com/tiennou","followers_url":"https://api.github.com/users/tiennou/followers","following_url":"https://api.github.com/users/tiennou/following{/other_user}","gists_url":"https://api.github.com/users/tiennou/gists{/gist_id}","starred_url":"https://api.github.com/users/tiennou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiennou/subscriptions","organizations_url":"https://api.github.com/users/tiennou/orgs","repos_url":"https://api.github.com/users/tiennou/repos","events_url":"https://api.github.com/users/tiennou/events{/privacy}","received_events_url":"https://api.github.com/users/tiennou/received_events","type":"User","site_admin":false},"body":"Since we were not expecting this config entry to contain a string, we would fail as soon as its (cached) value would be accessed. Hence, provide some constants for the 4 states we use, and account for \"always\" when we decide to reflog changes.\r\n\r\nFixes #4889.","created_at":"2018-11-17T16:56:27Z","updated_at":"2018-11-17T16:56:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/libgit2/libgit2/pulls/4891/commits","review_comments_url":"https://api.github.com/repos/libgit2/libgit2/pulls/4891/comments","review_comment_url":"https://api.github.com/repos/libgit2/libgit2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/libgit2/libgit2/issues/4891/comments","statuses_url":"https://api.github.com/repos/libgit2/libgit2/statuses/e0e7ddc37f6de2c0cb8aa2d96f198cadaa3f16fd","head":{"label":"tiennou:fix/logallrefupdates-always","ref":"fix/logallrefupdates-always","sha":"e0e7ddc37f6de2c0cb8aa2d96f198cadaa3f16fd","user":{"login":"tiennou","id":81099,"node_id":"MDQ6VXNlcjgxMDk5","avatar_url":"https://avatars1.githubusercontent.com/u/81099?v=4","gravatar_id":"","url":"https://api.github.com/users/tiennou","html_url":"https://github.com/tiennou","followers_url":"https://api.github.com/users/tiennou/followers","following_url":"https://api.github.com/users/tiennou/following{/other_user}","gists_url":"https://api.github.com/users/tiennou/gists{/gist_id}","starred_url":"https://api.github.com/users/tiennou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiennou/subscriptions","organizations_url":"https://api.github.com/users/tiennou/orgs","repos_url":"https://api.github.com/users/tiennou/repos","events_url":"https://api.github.com/users/tiennou/events{/privacy}","received_events_url":"https://api.github.com/users/tiennou/received_events","type":"User","site_admin":false},"repo":{"id":11159911,"node_id":"MDEwOlJlcG9zaXRvcnkxMTE1OTkxMQ==","name":"libgit2","full_name":"tiennou/libgit2","private":false,"owner":{"login":"tiennou","id":81099,"node_id":"MDQ6VXNlcjgxMDk5","avatar_url":"https://avatars1.githubusercontent.com/u/81099?v=4","gravatar_id":"","url":"https://api.github.com/users/tiennou","html_url":"https://github.com/tiennou","followers_url":"https://api.github.com/users/tiennou/followers","following_url":"https://api.github.com/users/tiennou/following{/other_user}","gists_url":"https://api.github.com/users/tiennou/gists{/gist_id}","starred_url":"https://api.github.com/users/tiennou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tiennou/subscriptions","organizations_url":"https://api.github.com/users/tiennou/orgs","repos_url":"https://api.github.com/users/tiennou/repos","events_url":"https://api.github.com/users/tiennou/events{/privacy}","received_events_url":"https://api.github.com/users/tiennou/received_events","type":"User","site_admin":false},"html_url":"https://github.com/tiennou/libgit2","description":"The Library","fork":true,"url":"https://api.github.com/repos/tiennou/libgit2","forks_url":"https://api.github.com/repos/tiennou/libgit2/forks","keys_url":"https://api.github.com/repos/tiennou/libgit2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tiennou/libgit2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tiennou/libgit2/teams","hooks_url":"https://api.github.com/repos/tiennou/libgit2/hooks","issue_events_url":"https://api.github.com/repos/tiennou/libgit2/issues/events{/number}","events_url":"https://api.github.com/repos/tiennou/libgit2/events","assignees_url":"https://api.github.com/repos/tiennou/libgit2/assignees{/user}","branches_url":"https://api.github.com/repos/tiennou/libgit2/branches{/branch}","tags_url":"https://api.github.com/repos/tiennou/libgit2/tags","blobs_url":"https://api.github.com/repos/tiennou/libgit2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tiennou/libgit2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tiennou/libgit2/git/refs{/sha}","trees_url":"https://api.github.com/repos/tiennou/libgit2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tiennou/libgit2/statuses/{sha}","languages_url":"https://api.github.com/repos/tiennou/libgit2/languages","stargazers_url":"https://api.github.com/repos/tiennou/libgit2/stargazers","contributors_url":"https://api.github.com/repos/tiennou/libgit2/contributors","subscribers_url":"https://api.github.com/repos/tiennou/libgit2/subscribers","subscription_url":"https://api.github.com/repos/tiennou/libgit2/subscription","commits_url":"https://api.github.com/repos/tiennou/libgit2/commits{/sha}","git_commits_url":"https://api.github.com/repos/tiennou/libgit2/git/commits{/sha}","comments_url":"https://api.github.com/repos/tiennou/libgit2/comments{/number}","issue_comment_url":"https://api.github.com/repos/tiennou/libgit2/issues/comments{/number}","contents_url":"https://api.github.com/repos/tiennou/libgit2/contents/{+path}","compare_url":"https://api.github.com/repos/tiennou/libgit2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tiennou/libgit2/merges","archive_url":"https://api.github.com/repos/tiennou/libgit2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tiennou/libgit2/downloads","issues_url":"https://api.github.com/repos/tiennou/libgit2/issues{/number}","pulls_url":"https://api.github.com/repos/tiennou/libgit2/pulls{/number}","milestones_url":"https://api.github.com/repos/tiennou/libgit2/milestones{/number}","notifications_url":"https://api.github.com/repos/tiennou/libgit2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tiennou/libgit2/labels{/name}","releases_url":"https://api.github.com/repos/tiennou/libgit2/releases{/id}","deployments_url":"https://api.github.com/repos/tiennou/libgit2/deployments","created_at":"2013-07-03T19:51:56Z","updated_at":"2018-11-01T02:34:12Z","pushed_at":"2018-11-17T16:55:30Z","git_url":"git://github.com/tiennou/libgit2.git","ssh_url":"git@github.com:tiennou/libgit2.git","clone_url":"https://github.com/tiennou/libgit2.git","svn_url":"https://github.com/tiennou/libgit2","homepage":"http://libgit2.github.com","size":39583,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"libgit2:master","ref":"master","sha":"7321cff05df927c8d00755ef21289ec00d125c9c","user":{"login":"libgit2","id":394745,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NDc0NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/394745?v=4","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":901662,"node_id":"MDEwOlJlcG9zaXRvcnk5MDE2NjI=","name":"libgit2","full_name":"libgit2/libgit2","private":false,"owner":{"login":"libgit2","id":394745,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NDc0NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/394745?v=4","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},"html_url":"https://github.com/libgit2/libgit2","description":"A cross-platform, linkable library implementation of Git that you can use in your application.","fork":false,"url":"https://api.github.com/repos/libgit2/libgit2","forks_url":"https://api.github.com/repos/libgit2/libgit2/forks","keys_url":"https://api.github.com/repos/libgit2/libgit2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libgit2/libgit2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libgit2/libgit2/teams","hooks_url":"https://api.github.com/repos/libgit2/libgit2/hooks","issue_events_url":"https://api.github.com/repos/libgit2/libgit2/issues/events{/number}","events_url":"https://api.github.com/repos/libgit2/libgit2/events","assignees_url":"https://api.github.com/repos/libgit2/libgit2/assignees{/user}","branches_url":"https://api.github.com/repos/libgit2/libgit2/branches{/branch}","tags_url":"https://api.github.com/repos/libgit2/libgit2/tags","blobs_url":"https://api.github.com/repos/libgit2/libgit2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libgit2/libgit2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libgit2/libgit2/git/refs{/sha}","trees_url":"https://api.github.com/repos/libgit2/libgit2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libgit2/libgit2/statuses/{sha}","languages_url":"https://api.github.com/repos/libgit2/libgit2/languages","stargazers_url":"https://api.github.com/repos/libgit2/libgit2/stargazers","contributors_url":"https://api.github.com/repos/libgit2/libgit2/contributors","subscribers_url":"https://api.github.com/repos/libgit2/libgit2/subscribers","subscription_url":"https://api.github.com/repos/libgit2/libgit2/subscription","commits_url":"https://api.github.com/repos/libgit2/libgit2/commits{/sha}","git_commits_url":"https://api.github.com/repos/libgit2/libgit2/git/commits{/sha}","comments_url":"https://api.github.com/repos/libgit2/libgit2/comments{/number}","issue_comment_url":"https://api.github.com/repos/libgit2/libgit2/issues/comments{/number}","contents_url":"https://api.github.com/repos/libgit2/libgit2/contents/{+path}","compare_url":"https://api.github.com/repos/libgit2/libgit2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libgit2/libgit2/merges","archive_url":"https://api.github.com/repos/libgit2/libgit2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libgit2/libgit2/downloads","issues_url":"https://api.github.com/repos/libgit2/libgit2/issues{/number}","pulls_url":"https://api.github.com/repos/libgit2/libgit2/pulls{/number}","milestones_url":"https://api.github.com/repos/libgit2/libgit2/milestones{/number}","notifications_url":"https://api.github.com/repos/libgit2/libgit2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libgit2/libgit2/labels{/name}","releases_url":"https://api.github.com/repos/libgit2/libgit2/releases{/id}","deployments_url":"https://api.github.com/repos/libgit2/libgit2/deployments","created_at":"2010-09-10T16:17:48Z","updated_at":"2018-11-17T15:04:25Z","pushed_at":"2018-11-15T09:19:36Z","git_url":"git://github.com/libgit2/libgit2.git","ssh_url":"git@github.com:libgit2/libgit2.git","clone_url":"https://github.com/libgit2/libgit2.git","svn_url":"https://github.com/libgit2/libgit2","homepage":"https://libgit2.org/","size":41125,"stargazers_count":6707,"watchers_count":6707,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1700,"mirror_url":null,"archived":false,"open_issues_count":253,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1700,"open_issues":253,"watchers":6707,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/libgit2/libgit2/pulls/4891"},"html":{"href":"https://github.com/libgit2/libgit2/pull/4891"},"issue":{"href":"https://api.github.com/repos/libgit2/libgit2/issues/4891"},"comments":{"href":"https://api.github.com/repos/libgit2/libgit2/issues/4891/comments"},"review_comments":{"href":"https://api.github.com/repos/libgit2/libgit2/pulls/4891/comments"},"review_comment":{"href":"https://api.github.com/repos/libgit2/libgit2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/libgit2/libgit2/pulls/4891/commits"},"statuses":{"href":"https://api.github.com/repos/libgit2/libgit2/statuses/e0e7ddc37f6de2c0cb8aa2d96f198cadaa3f16fd"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":52,"deletions":13,"changed_files":4}}
{"actor":{"display_login":"tiennou"}}