{"action":"created","issue":{"url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/536","repository_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo","labels_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/536/labels{/name}","comments_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/536/comments","events_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/536/events","html_url":"https://github.com/joelittlejohn/jsonschema2pojo/pull/536","id":142297264,"number":536,"title":"Convert line endings from CRLF to LF.","user":{"login":"johnjohndoe","id":144518,"avatar_url":"https://avatars.githubusercontent.com/u/144518?v=3","gravatar_id":"","url":"https://api.github.com/users/johnjohndoe","html_url":"https://github.com/johnjohndoe","followers_url":"https://api.github.com/users/johnjohndoe/followers","following_url":"https://api.github.com/users/johnjohndoe/following{/other_user}","gists_url":"https://api.github.com/users/johnjohndoe/gists{/gist_id}","starred_url":"https://api.github.com/users/johnjohndoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnjohndoe/subscriptions","organizations_url":"https://api.github.com/users/johnjohndoe/orgs","repos_url":"https://api.github.com/users/johnjohndoe/repos","events_url":"https://api.github.com/users/johnjohndoe/events{/privacy}","received_events_url":"https://api.github.com/users/johnjohndoe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-03-21T09:41:36Z","updated_at":"2016-03-22T11:24:32Z","closed_at":"2016-03-21T22:52:03Z","pull_request":{"url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/pulls/536","html_url":"https://github.com/joelittlejohn/jsonschema2pojo/pull/536","diff_url":"https://github.com/joelittlejohn/jsonschema2pojo/pull/536.diff","patch_url":"https://github.com/joelittlejohn/jsonschema2pojo/pull/536.patch"},"body":"+ This commit introduces no code change!\r\n+ Please do not commit files with Windows line endings (CRLF) since this\r\n  causes a permanent **full-file-diff** on Unix machines. The Git config\r\n  can be setup to automatically convert line endings back and forth on a\r\n  Windows machine.\r\n\r\n---\r\n\r\n> Formatting and whitespace issues are some of the more frustrating and subtle problems that many developers encounter when collaborating, especially cross-platform. It’s very easy for patches or other collaborated work to introduce subtle whitespace changes because editors silently introduce them, and if your files ever touch a Windows system, their line endings might be replaced. Git has a few configuration options to help with these issues.\r\n\r\n> `core.autocrlf`\r\n\r\n> If you’re programming on Windows and working with people who are not (or vice-versa), you’ll probably run into line-ending issues at some point. This is because Windows uses both a carriage-return character and a linefeed character for newlines in its files, whereas Mac and Linux systems use only the linefeed character. This is a subtle but incredibly annoying fact of cross-platform work; many editors on Windows silently replace existing LF-style line endings with CRLF, or insert both line-ending characters when the user hits the enter key.\r\n\r\n> Git can handle this by auto-converting CRLF line endings into LF when you add a file to the index, and vice versa when it checks out code onto your filesystem ...\r\n\r\nSource: [Git documentation - Configuration - Formatting-and-Whitespace](https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#Formatting-and-Whitespace)"},"comment":{"url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/comments/199768313","html_url":"https://github.com/joelittlejohn/jsonschema2pojo/pull/536#issuecomment-199768313","issue_url":"https://api.github.com/repos/joelittlejohn/jsonschema2pojo/issues/536","id":199768313,"user":{"login":"johnjohndoe","id":144518,"avatar_url":"https://avatars.githubusercontent.com/u/144518?v=3","gravatar_id":"","url":"https://api.github.com/users/johnjohndoe","html_url":"https://github.com/johnjohndoe","followers_url":"https://api.github.com/users/johnjohndoe/followers","following_url":"https://api.github.com/users/johnjohndoe/following{/other_user}","gists_url":"https://api.github.com/users/johnjohndoe/gists{/gist_id}","starred_url":"https://api.github.com/users/johnjohndoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnjohndoe/subscriptions","organizations_url":"https://api.github.com/users/johnjohndoe/orgs","repos_url":"https://api.github.com/users/johnjohndoe/repos","events_url":"https://api.github.com/users/johnjohndoe/events{/privacy}","received_events_url":"https://api.github.com/users/johnjohndoe/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T11:24:32Z","updated_at":"2016-03-22T11:24:32Z","body":"I like to add that you should be aware that having files showing up as changed all the time makes it harder for less experienced developers to contribute. Each time one clones the repository, checks out a branch or pull changes they will have to deal with the full file diff of these files getting in the way."}}