{"action":"closed","number":974,"pull_request":{"url":"https://api.github.com/repos/diydrones/ardupilot/pulls/974","id":14747022,"html_url":"https://github.com/diydrones/ardupilot/pull/974","diff_url":"https://github.com/diydrones/ardupilot/pull/974.diff","patch_url":"https://github.com/diydrones/ardupilot/pull/974.patch","issue_url":"https://api.github.com/repos/diydrones/ardupilot/issues/974","number":974,"state":"closed","locked":false,"title":"codestyle: Add a .gitattributes","user":{"login":"geeksville","id":225513,"avatar_url":"https://avatars.githubusercontent.com/u/225513?v=3","gravatar_id":"","url":"https://api.github.com/users/geeksville","html_url":"https://github.com/geeksville","followers_url":"https://api.github.com/users/geeksville/followers","following_url":"https://api.github.com/users/geeksville/following{/other_user}","gists_url":"https://api.github.com/users/geeksville/gists{/gist_id}","starred_url":"https://api.github.com/users/geeksville/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geeksville/subscriptions","organizations_url":"https://api.github.com/users/geeksville/orgs","repos_url":"https://api.github.com/users/geeksville/repos","events_url":"https://api.github.com/users/geeksville/events{/privacy}","received_events_url":"https://api.github.com/users/geeksville/received_events","type":"User","site_admin":false},"body":"Andrew Chapman pointed me at .gitattributes to make git properly use lf as the reference line ending for all our text files (converting to/from cr/lf on windows).  \r\n\r\nPer this helpful article: https://help.github.com/articles/dealing-with-line-endings\r\n\r\nThis PR contains two changes.  The .gitattributes file and changes to the smallish number of files that had crlf even on linux clients.  The normalization change is required to prevent yelling at users who edit these files.  Since the line ending changes on every line, please merge soon (if you want this change) to prevent merge hell...","created_at":"2014-04-14T23:35:03Z","updated_at":"2015-07-01T01:43:40Z","closed_at":"2015-07-01T01:43:40Z","merged_at":null,"merge_commit_sha":"787c6c59e2620257582a75c20c9b0e828e20c9b4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/diydrones/ardupilot/pulls/974/commits","review_comments_url":"https://api.github.com/repos/diydrones/ardupilot/pulls/974/comments","review_comment_url":"https://api.github.com/repos/diydrones/ardupilot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/diydrones/ardupilot/issues/974/comments","statuses_url":"https://api.github.com/repos/diydrones/ardupilot/statuses/8cb2e4d8121f9ffbe3c47eae6a51a3cb417b8602","head":{"label":"geeksville:gitattributes","ref":"gitattributes","sha":"8cb2e4d8121f9ffbe3c47eae6a51a3cb417b8602","user":{"login":"geeksville","id":225513,"avatar_url":"https://avatars.githubusercontent.com/u/225513?v=3","gravatar_id":"","url":"https://api.github.com/users/geeksville","html_url":"https://github.com/geeksville","followers_url":"https://api.github.com/users/geeksville/followers","following_url":"https://api.github.com/users/geeksville/following{/other_user}","gists_url":"https://api.github.com/users/geeksville/gists{/gist_id}","starred_url":"https://api.github.com/users/geeksville/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geeksville/subscriptions","organizations_url":"https://api.github.com/users/geeksville/orgs","repos_url":"https://api.github.com/users/geeksville/repos","events_url":"https://api.github.com/users/geeksville/events{/privacy}","received_events_url":"https://api.github.com/users/geeksville/received_events","type":"User","site_admin":false},"repo":{"id":8045599,"name":"ardupilot","full_name":"geeksville/ardupilot","owner":{"login":"geeksville","id":225513,"avatar_url":"https://avatars.githubusercontent.com/u/225513?v=3","gravatar_id":"","url":"https://api.github.com/users/geeksville","html_url":"https://github.com/geeksville","followers_url":"https://api.github.com/users/geeksville/followers","following_url":"https://api.github.com/users/geeksville/following{/other_user}","gists_url":"https://api.github.com/users/geeksville/gists{/gist_id}","starred_url":"https://api.github.com/users/geeksville/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geeksville/subscriptions","organizations_url":"https://api.github.com/users/geeksville/orgs","repos_url":"https://api.github.com/users/geeksville/repos","events_url":"https://api.github.com/users/geeksville/events{/privacy}","received_events_url":"https://api.github.com/users/geeksville/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/geeksville/ardupilot","description":"","fork":true,"url":"https://api.github.com/repos/geeksville/ardupilot","forks_url":"https://api.github.com/repos/geeksville/ardupilot/forks","keys_url":"https://api.github.com/repos/geeksville/ardupilot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geeksville/ardupilot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geeksville/ardupilot/teams","hooks_url":"https://api.github.com/repos/geeksville/ardupilot/hooks","issue_events_url":"https://api.github.com/repos/geeksville/ardupilot/issues/events{/number}","events_url":"https://api.github.com/repos/geeksville/ardupilot/events","assignees_url":"https://api.github.com/repos/geeksville/ardupilot/assignees{/user}","branches_url":"https://api.github.com/repos/geeksville/ardupilot/branches{/branch}","tags_url":"https://api.github.com/repos/geeksville/ardupilot/tags","blobs_url":"https://api.github.com/repos/geeksville/ardupilot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geeksville/ardupilot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geeksville/ardupilot/git/refs{/sha}","trees_url":"https://api.github.com/repos/geeksville/ardupilot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geeksville/ardupilot/statuses/{sha}","languages_url":"https://api.github.com/repos/geeksville/ardupilot/languages","stargazers_url":"https://api.github.com/repos/geeksville/ardupilot/stargazers","contributors_url":"https://api.github.com/repos/geeksville/ardupilot/contributors","subscribers_url":"https://api.github.com/repos/geeksville/ardupilot/subscribers","subscription_url":"https://api.github.com/repos/geeksville/ardupilot/subscription","commits_url":"https://api.github.com/repos/geeksville/ardupilot/commits{/sha}","git_commits_url":"https://api.github.com/repos/geeksville/ardupilot/git/commits{/sha}","comments_url":"https://api.github.com/repos/geeksville/ardupilot/comments{/number}","issue_comment_url":"https://api.github.com/repos/geeksville/ardupilot/issues/comments{/number}","contents_url":"https://api.github.com/repos/geeksville/ardupilot/contents/{+path}","compare_url":"https://api.github.com/repos/geeksville/ardupilot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geeksville/ardupilot/merges","archive_url":"https://api.github.com/repos/geeksville/ardupilot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geeksville/ardupilot/downloads","issues_url":"https://api.github.com/repos/geeksville/ardupilot/issues{/number}","pulls_url":"https://api.github.com/repos/geeksville/ardupilot/pulls{/number}","milestones_url":"https://api.github.com/repos/geeksville/ardupilot/milestones{/number}","notifications_url":"https://api.github.com/repos/geeksville/ardupilot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geeksville/ardupilot/labels{/name}","releases_url":"https://api.github.com/repos/geeksville/ardupilot/releases{/id}","created_at":"2013-02-06T05:57:06Z","updated_at":"2015-03-05T04:21:28Z","pushed_at":"2015-03-18T18:51:21Z","git_url":"git://github.com/geeksville/ardupilot.git","ssh_url":"git@github.com:geeksville/ardupilot.git","clone_url":"https://github.com/geeksville/ardupilot.git","svn_url":"https://github.com/geeksville/ardupilot","homepage":null,"size":57833,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":0,"forks":2,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"diydrones:master","ref":"master","sha":"3ecdc4b7416603408dbdbe9e50bc29f5ef1caf88","user":{"login":"diydrones","id":3189387,"avatar_url":"https://avatars.githubusercontent.com/u/3189387?v=3","gravatar_id":"","url":"https://api.github.com/users/diydrones","html_url":"https://github.com/diydrones","followers_url":"https://api.github.com/users/diydrones/followers","following_url":"https://api.github.com/users/diydrones/following{/other_user}","gists_url":"https://api.github.com/users/diydrones/gists{/gist_id}","starred_url":"https://api.github.com/users/diydrones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diydrones/subscriptions","organizations_url":"https://api.github.com/users/diydrones/orgs","repos_url":"https://api.github.com/users/diydrones/repos","events_url":"https://api.github.com/users/diydrones/events{/privacy}","received_events_url":"https://api.github.com/users/diydrones/received_events","type":"Organization","site_admin":false},"repo":{"id":7512484,"name":"ardupilot","full_name":"diydrones/ardupilot","owner":{"login":"diydrones","id":3189387,"avatar_url":"https://avatars.githubusercontent.com/u/3189387?v=3","gravatar_id":"","url":"https://api.github.com/users/diydrones","html_url":"https://github.com/diydrones","followers_url":"https://api.github.com/users/diydrones/followers","following_url":"https://api.github.com/users/diydrones/following{/other_user}","gists_url":"https://api.github.com/users/diydrones/gists{/gist_id}","starred_url":"https://api.github.com/users/diydrones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diydrones/subscriptions","organizations_url":"https://api.github.com/users/diydrones/orgs","repos_url":"https://api.github.com/users/diydrones/repos","events_url":"https://api.github.com/users/diydrones/events{/privacy}","received_events_url":"https://api.github.com/users/diydrones/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/diydrones/ardupilot","description":"APM Plane, APM Copter, APM Rover source","fork":false,"url":"https://api.github.com/repos/diydrones/ardupilot","forks_url":"https://api.github.com/repos/diydrones/ardupilot/forks","keys_url":"https://api.github.com/repos/diydrones/ardupilot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/diydrones/ardupilot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/diydrones/ardupilot/teams","hooks_url":"https://api.github.com/repos/diydrones/ardupilot/hooks","issue_events_url":"https://api.github.com/repos/diydrones/ardupilot/issues/events{/number}","events_url":"https://api.github.com/repos/diydrones/ardupilot/events","assignees_url":"https://api.github.com/repos/diydrones/ardupilot/assignees{/user}","branches_url":"https://api.github.com/repos/diydrones/ardupilot/branches{/branch}","tags_url":"https://api.github.com/repos/diydrones/ardupilot/tags","blobs_url":"https://api.github.com/repos/diydrones/ardupilot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/diydrones/ardupilot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/diydrones/ardupilot/git/refs{/sha}","trees_url":"https://api.github.com/repos/diydrones/ardupilot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/diydrones/ardupilot/statuses/{sha}","languages_url":"https://api.github.com/repos/diydrones/ardupilot/languages","stargazers_url":"https://api.github.com/repos/diydrones/ardupilot/stargazers","contributors_url":"https://api.github.com/repos/diydrones/ardupilot/contributors","subscribers_url":"https://api.github.com/repos/diydrones/ardupilot/subscribers","subscription_url":"https://api.github.com/repos/diydrones/ardupilot/subscription","commits_url":"https://api.github.com/repos/diydrones/ardupilot/commits{/sha}","git_commits_url":"https://api.github.com/repos/diydrones/ardupilot/git/commits{/sha}","comments_url":"https://api.github.com/repos/diydrones/ardupilot/comments{/number}","issue_comment_url":"https://api.github.com/repos/diydrones/ardupilot/issues/comments{/number}","contents_url":"https://api.github.com/repos/diydrones/ardupilot/contents/{+path}","compare_url":"https://api.github.com/repos/diydrones/ardupilot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/diydrones/ardupilot/merges","archive_url":"https://api.github.com/repos/diydrones/ardupilot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/diydrones/ardupilot/downloads","issues_url":"https://api.github.com/repos/diydrones/ardupilot/issues{/number}","pulls_url":"https://api.github.com/repos/diydrones/ardupilot/pulls{/number}","milestones_url":"https://api.github.com/repos/diydrones/ardupilot/milestones{/number}","notifications_url":"https://api.github.com/repos/diydrones/ardupilot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/diydrones/ardupilot/labels{/name}","releases_url":"https://api.github.com/repos/diydrones/ardupilot/releases{/id}","created_at":"2013-01-09T00:58:52Z","updated_at":"2015-06-30T21:51:23Z","pushed_at":"2015-07-01T01:35:56Z","git_url":"git://github.com/diydrones/ardupilot.git","ssh_url":"git@github.com:diydrones/ardupilot.git","clone_url":"https://github.com/diydrones/ardupilot.git","svn_url":"https://github.com/diydrones/ardupilot","homepage":"http://ardupilot.com/","size":118806,"stargazers_count":1279,"watchers_count":1279,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2340,"mirror_url":null,"open_issues_count":601,"forks":2340,"open_issues":601,"watchers":1279,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/diydrones/ardupilot/pulls/974"},"html":{"href":"https://github.com/diydrones/ardupilot/pull/974"},"issue":{"href":"https://api.github.com/repos/diydrones/ardupilot/issues/974"},"comments":{"href":"https://api.github.com/repos/diydrones/ardupilot/issues/974/comments"},"review_comments":{"href":"https://api.github.com/repos/diydrones/ardupilot/pulls/974/comments"},"review_comment":{"href":"https://api.github.com/repos/diydrones/ardupilot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/diydrones/ardupilot/pulls/974/commits"},"statuses":{"href":"https://api.github.com/repos/diydrones/ardupilot/statuses/8cb2e4d8121f9ffbe3c47eae6a51a3cb417b8602"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":6,"review_comments":0,"commits":2,"additions":2579,"deletions":2553,"changed_files":42}}