{"action":"closed","number":435,"pull_request":{"url":"https://api.github.com/repos/CBATeam/CBA_A3/pulls/435","id":77488134,"html_url":"https://github.com/CBATeam/CBA_A3/pull/435","diff_url":"https://github.com/CBATeam/CBA_A3/pull/435.diff","patch_url":"https://github.com/CBATeam/CBA_A3/pull/435.patch","issue_url":"https://api.github.com/repos/CBATeam/CBA_A3/issues/435","number":435,"state":"closed","locked":false,"title":"Convert to LF line endings","user":{"login":"jonpas","id":7935003,"avatar_url":"https://avatars.githubusercontent.com/u/7935003?v=3","gravatar_id":"","url":"https://api.github.com/users/jonpas","html_url":"https://github.com/jonpas","followers_url":"https://api.github.com/users/jonpas/followers","following_url":"https://api.github.com/users/jonpas/following{/other_user}","gists_url":"https://api.github.com/users/jonpas/gists{/gist_id}","starred_url":"https://api.github.com/users/jonpas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonpas/subscriptions","organizations_url":"https://api.github.com/users/jonpas/orgs","repos_url":"https://api.github.com/users/jonpas/repos","events_url":"https://api.github.com/users/jonpas/events{/privacy}","received_events_url":"https://api.github.com/users/jonpas/received_events","type":"User","site_admin":false},"body":"**When merged this pull request will:**\r\n- Changes default EOL to LF for Git setting (in case where `core.autocrlf` is not enabled)\r\n- Normalizes files that weren't in LF already (most were due to `core.autocrlf` being set on msysgit by default)\r\n- Adds `.editorconfig` file for EditorConfig automatic editor configuration\r\n\r\nThe advantage of this is that it causes no issues on Linux, where CRLF is not supported unless you are a using a text editor where you can switch it, and Windows has `core.autocrlf` settings for that reason exactly. Additionally it normalizes it across the repo, no one can commit wrong line endings, thus reducing merge conflicts and ensures consistency.\r\n\r\nAfter checking this out (and when merged into master) people might see full files being changed, that's because in their working directories line endings have not changed. Usually, committing those files just makes Git realize it's fine and just does it behind the hood without an actual commit. Anyone who wants to get rid of that annoyance can simply run the following in bash:\r\n```\r\ngit ls-files -z | xargs -0 rm\r\ngit checkout .\r\n```","created_at":"2016-07-14T16:46:33Z","updated_at":"2016-07-14T17:20:25Z","closed_at":"2016-07-14T17:20:25Z","merged_at":"2016-07-14T17:20:25Z","merge_commit_sha":"64034f59109867adb92e830035b9159a7282db07","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CBATeam/CBA_A3/pulls/435/commits","review_comments_url":"https://api.github.com/repos/CBATeam/CBA_A3/pulls/435/comments","review_comment_url":"https://api.github.com/repos/CBATeam/CBA_A3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CBATeam/CBA_A3/issues/435/comments","statuses_url":"https://api.github.com/repos/CBATeam/CBA_A3/statuses/1a76b36acbfb0c627fb5514ae0405f8d74df2caf","head":{"label":"jonpas:eol-lf","ref":"eol-lf","sha":"1a76b36acbfb0c627fb5514ae0405f8d74df2caf","user":{"login":"jonpas","id":7935003,"avatar_url":"https://avatars.githubusercontent.com/u/7935003?v=3","gravatar_id":"","url":"https://api.github.com/users/jonpas","html_url":"https://github.com/jonpas","followers_url":"https://api.github.com/users/jonpas/followers","following_url":"https://api.github.com/users/jonpas/following{/other_user}","gists_url":"https://api.github.com/users/jonpas/gists{/gist_id}","starred_url":"https://api.github.com/users/jonpas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonpas/subscriptions","organizations_url":"https://api.github.com/users/jonpas/orgs","repos_url":"https://api.github.com/users/jonpas/repos","events_url":"https://api.github.com/users/jonpas/events{/privacy}","received_events_url":"https://api.github.com/users/jonpas/received_events","type":"User","site_admin":false},"repo":{"id":36459653,"name":"CBA_A3","full_name":"jonpas/CBA_A3","owner":{"login":"jonpas","id":7935003,"avatar_url":"https://avatars.githubusercontent.com/u/7935003?v=3","gravatar_id":"","url":"https://api.github.com/users/jonpas","html_url":"https://github.com/jonpas","followers_url":"https://api.github.com/users/jonpas/followers","following_url":"https://api.github.com/users/jonpas/following{/other_user}","gists_url":"https://api.github.com/users/jonpas/gists{/gist_id}","starred_url":"https://api.github.com/users/jonpas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonpas/subscriptions","organizations_url":"https://api.github.com/users/jonpas/orgs","repos_url":"https://api.github.com/users/jonpas/repos","events_url":"https://api.github.com/users/jonpas/events{/privacy}","received_events_url":"https://api.github.com/users/jonpas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonpas/CBA_A3","description":"Community Base Addons for Arma 3","fork":true,"url":"https://api.github.com/repos/jonpas/CBA_A3","forks_url":"https://api.github.com/repos/jonpas/CBA_A3/forks","keys_url":"https://api.github.com/repos/jonpas/CBA_A3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonpas/CBA_A3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonpas/CBA_A3/teams","hooks_url":"https://api.github.com/repos/jonpas/CBA_A3/hooks","issue_events_url":"https://api.github.com/repos/jonpas/CBA_A3/issues/events{/number}","events_url":"https://api.github.com/repos/jonpas/CBA_A3/events","assignees_url":"https://api.github.com/repos/jonpas/CBA_A3/assignees{/user}","branches_url":"https://api.github.com/repos/jonpas/CBA_A3/branches{/branch}","tags_url":"https://api.github.com/repos/jonpas/CBA_A3/tags","blobs_url":"https://api.github.com/repos/jonpas/CBA_A3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonpas/CBA_A3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonpas/CBA_A3/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonpas/CBA_A3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonpas/CBA_A3/statuses/{sha}","languages_url":"https://api.github.com/repos/jonpas/CBA_A3/languages","stargazers_url":"https://api.github.com/repos/jonpas/CBA_A3/stargazers","contributors_url":"https://api.github.com/repos/jonpas/CBA_A3/contributors","subscribers_url":"https://api.github.com/repos/jonpas/CBA_A3/subscribers","subscription_url":"https://api.github.com/repos/jonpas/CBA_A3/subscription","commits_url":"https://api.github.com/repos/jonpas/CBA_A3/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonpas/CBA_A3/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonpas/CBA_A3/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonpas/CBA_A3/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonpas/CBA_A3/contents/{+path}","compare_url":"https://api.github.com/repos/jonpas/CBA_A3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonpas/CBA_A3/merges","archive_url":"https://api.github.com/repos/jonpas/CBA_A3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonpas/CBA_A3/downloads","issues_url":"https://api.github.com/repos/jonpas/CBA_A3/issues{/number}","pulls_url":"https://api.github.com/repos/jonpas/CBA_A3/pulls{/number}","milestones_url":"https://api.github.com/repos/jonpas/CBA_A3/milestones{/number}","notifications_url":"https://api.github.com/repos/jonpas/CBA_A3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonpas/CBA_A3/labels{/name}","releases_url":"https://api.github.com/repos/jonpas/CBA_A3/releases{/id}","deployments_url":"https://api.github.com/repos/jonpas/CBA_A3/deployments","created_at":"2015-05-28T19:01:19Z","updated_at":"2016-01-19T17:27:01Z","pushed_at":"2016-07-14T17:16:13Z","git_url":"git://github.com/jonpas/CBA_A3.git","ssh_url":"git@github.com:jonpas/CBA_A3.git","clone_url":"https://github.com/jonpas/CBA_A3.git","svn_url":"https://github.com/jonpas/CBA_A3","homepage":"","size":9093,"stargazers_count":0,"watchers_count":0,"language":"SQF","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"CBATeam:master","ref":"master","sha":"0b4064209d296176d7926349e8ad0d5e75576cc3","user":{"login":"CBATeam","id":12647545,"avatar_url":"https://avatars.githubusercontent.com/u/12647545?v=3","gravatar_id":"","url":"https://api.github.com/users/CBATeam","html_url":"https://github.com/CBATeam","followers_url":"https://api.github.com/users/CBATeam/followers","following_url":"https://api.github.com/users/CBATeam/following{/other_user}","gists_url":"https://api.github.com/users/CBATeam/gists{/gist_id}","starred_url":"https://api.github.com/users/CBATeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CBATeam/subscriptions","organizations_url":"https://api.github.com/users/CBATeam/orgs","repos_url":"https://api.github.com/users/CBATeam/repos","events_url":"https://api.github.com/users/CBATeam/events{/privacy}","received_events_url":"https://api.github.com/users/CBATeam/received_events","type":"Organization","site_admin":false},"repo":{"id":36454957,"name":"CBA_A3","full_name":"CBATeam/CBA_A3","owner":{"login":"CBATeam","id":12647545,"avatar_url":"https://avatars.githubusercontent.com/u/12647545?v=3","gravatar_id":"","url":"https://api.github.com/users/CBATeam","html_url":"https://github.com/CBATeam","followers_url":"https://api.github.com/users/CBATeam/followers","following_url":"https://api.github.com/users/CBATeam/following{/other_user}","gists_url":"https://api.github.com/users/CBATeam/gists{/gist_id}","starred_url":"https://api.github.com/users/CBATeam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CBATeam/subscriptions","organizations_url":"https://api.github.com/users/CBATeam/orgs","repos_url":"https://api.github.com/users/CBATeam/repos","events_url":"https://api.github.com/users/CBATeam/events{/privacy}","received_events_url":"https://api.github.com/users/CBATeam/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CBATeam/CBA_A3","description":"Community Base Addons for Arma 3","fork":false,"url":"https://api.github.com/repos/CBATeam/CBA_A3","forks_url":"https://api.github.com/repos/CBATeam/CBA_A3/forks","keys_url":"https://api.github.com/repos/CBATeam/CBA_A3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CBATeam/CBA_A3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CBATeam/CBA_A3/teams","hooks_url":"https://api.github.com/repos/CBATeam/CBA_A3/hooks","issue_events_url":"https://api.github.com/repos/CBATeam/CBA_A3/issues/events{/number}","events_url":"https://api.github.com/repos/CBATeam/CBA_A3/events","assignees_url":"https://api.github.com/repos/CBATeam/CBA_A3/assignees{/user}","branches_url":"https://api.github.com/repos/CBATeam/CBA_A3/branches{/branch}","tags_url":"https://api.github.com/repos/CBATeam/CBA_A3/tags","blobs_url":"https://api.github.com/repos/CBATeam/CBA_A3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CBATeam/CBA_A3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CBATeam/CBA_A3/git/refs{/sha}","trees_url":"https://api.github.com/repos/CBATeam/CBA_A3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CBATeam/CBA_A3/statuses/{sha}","languages_url":"https://api.github.com/repos/CBATeam/CBA_A3/languages","stargazers_url":"https://api.github.com/repos/CBATeam/CBA_A3/stargazers","contributors_url":"https://api.github.com/repos/CBATeam/CBA_A3/contributors","subscribers_url":"https://api.github.com/repos/CBATeam/CBA_A3/subscribers","subscription_url":"https://api.github.com/repos/CBATeam/CBA_A3/subscription","commits_url":"https://api.github.com/repos/CBATeam/CBA_A3/commits{/sha}","git_commits_url":"https://api.github.com/repos/CBATeam/CBA_A3/git/commits{/sha}","comments_url":"https://api.github.com/repos/CBATeam/CBA_A3/comments{/number}","issue_comment_url":"https://api.github.com/repos/CBATeam/CBA_A3/issues/comments{/number}","contents_url":"https://api.github.com/repos/CBATeam/CBA_A3/contents/{+path}","compare_url":"https://api.github.com/repos/CBATeam/CBA_A3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CBATeam/CBA_A3/merges","archive_url":"https://api.github.com/repos/CBATeam/CBA_A3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CBATeam/CBA_A3/downloads","issues_url":"https://api.github.com/repos/CBATeam/CBA_A3/issues{/number}","pulls_url":"https://api.github.com/repos/CBATeam/CBA_A3/pulls{/number}","milestones_url":"https://api.github.com/repos/CBATeam/CBA_A3/milestones{/number}","notifications_url":"https://api.github.com/repos/CBATeam/CBA_A3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CBATeam/CBA_A3/labels{/name}","releases_url":"https://api.github.com/repos/CBATeam/CBA_A3/releases{/id}","deployments_url":"https://api.github.com/repos/CBATeam/CBA_A3/deployments","created_at":"2015-05-28T17:34:05Z","updated_at":"2016-07-12T08:50:14Z","pushed_at":"2016-07-14T17:20:25Z","git_url":"git://github.com/CBATeam/CBA_A3.git","ssh_url":"git@github.com:CBATeam/CBA_A3.git","clone_url":"https://github.com/CBATeam/CBA_A3.git","svn_url":"https://github.com/CBATeam/CBA_A3","homepage":"","size":11312,"stargazers_count":93,"watchers_count":93,"language":"SQF","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":39,"mirror_url":null,"open_issues_count":12,"forks":39,"open_issues":12,"watchers":93,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CBATeam/CBA_A3/pulls/435"},"html":{"href":"https://github.com/CBATeam/CBA_A3/pull/435"},"issue":{"href":"https://api.github.com/repos/CBATeam/CBA_A3/issues/435"},"comments":{"href":"https://api.github.com/repos/CBATeam/CBA_A3/issues/435/comments"},"review_comments":{"href":"https://api.github.com/repos/CBATeam/CBA_A3/pulls/435/comments"},"review_comment":{"href":"https://api.github.com/repos/CBATeam/CBA_A3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CBATeam/CBA_A3/pulls/435/commits"},"statuses":{"href":"https://api.github.com/repos/CBATeam/CBA_A3/statuses/1a76b36acbfb0c627fb5514ae0405f8d74df2caf"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"Killswitch00","id":12647603,"avatar_url":"https://avatars.githubusercontent.com/u/12647603?v=3","gravatar_id":"","url":"https://api.github.com/users/Killswitch00","html_url":"https://github.com/Killswitch00","followers_url":"https://api.github.com/users/Killswitch00/followers","following_url":"https://api.github.com/users/Killswitch00/following{/other_user}","gists_url":"https://api.github.com/users/Killswitch00/gists{/gist_id}","starred_url":"https://api.github.com/users/Killswitch00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Killswitch00/subscriptions","organizations_url":"https://api.github.com/users/Killswitch00/orgs","repos_url":"https://api.github.com/users/Killswitch00/repos","events_url":"https://api.github.com/users/Killswitch00/events{/privacy}","received_events_url":"https://api.github.com/users/Killswitch00/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"commits":4,"additions":9685,"deletions":9669,"changed_files":283}}
{"actor":{"display_login":"Killswitch00"}}