{"action":"created","issue":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/2798","labels_url":"https://api.github.com/repos/libgit2/libgit2/issues/2798/labels{/name}","comments_url":"https://api.github.com/repos/libgit2/libgit2/issues/2798/comments","events_url":"https://api.github.com/repos/libgit2/libgit2/issues/2798/events","html_url":"https://github.com/libgit2/libgit2/pull/2798","id":53402638,"number":2798,"title":"SafeCrLf and AutoCrLF improvements to make libgit2 behave like vanilla git","user":{"login":"csware","id":428133,"avatar_url":"https://avatars.githubusercontent.com/u/428133?v=3","gravatar_id":"","url":"https://api.github.com/users/csware","html_url":"https://github.com/csware","followers_url":"https://api.github.com/users/csware/followers","following_url":"https://api.github.com/users/csware/following{/other_user}","gists_url":"https://api.github.com/users/csware/gists{/gist_id}","starred_url":"https://api.github.com/users/csware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csware/subscriptions","organizations_url":"https://api.github.com/users/csware/orgs","repos_url":"https://api.github.com/users/csware/repos","events_url":"https://api.github.com/users/csware/events{/privacy}","received_events_url":"https://api.github.com/users/csware/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2015-01-05T14:45:26Z","updated_at":"2015-02-16T16:08:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/libgit2/libgit2/pulls/2798","html_url":"https://github.com/libgit2/libgit2/pull/2798","diff_url":"https://github.com/libgit2/libgit2/pull/2798.diff","patch_url":"https://github.com/libgit2/libgit2/pull/2798.patch"},"body":"If SafeCrLf=true and AutoCrLf=true hold libgit2 right now accepts a LF only file, vanilla git fails with \"fatal: LF would be replaced by CRLF in [FILENAME]\" (on Windows)\r\n\r\nAlso handling of malformed files (containing LF, CR and CRLF) was improved. And support for \"* text eol=crlf\" was added for LF-only platforms.\r\n\r\nSee change log file for all changes."},"comment":{"url":"https://api.github.com/repos/libgit2/libgit2/issues/comments/74531517","html_url":"https://github.com/libgit2/libgit2/pull/2798#issuecomment-74531517","issue_url":"https://api.github.com/repos/libgit2/libgit2/issues/2798","id":74531517,"user":{"login":"peff","id":45925,"avatar_url":"https://avatars.githubusercontent.com/u/45925?v=3","gravatar_id":"","url":"https://api.github.com/users/peff","html_url":"https://github.com/peff","followers_url":"https://api.github.com/users/peff/followers","following_url":"https://api.github.com/users/peff/following{/other_user}","gists_url":"https://api.github.com/users/peff/gists{/gist_id}","starred_url":"https://api.github.com/users/peff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peff/subscriptions","organizations_url":"https://api.github.com/users/peff/orgs","repos_url":"https://api.github.com/users/peff/repos","events_url":"https://api.github.com/users/peff/events{/privacy}","received_events_url":"https://api.github.com/users/peff/received_events","type":"User","site_admin":true},"created_at":"2015-02-16T16:08:41Z","updated_at":"2015-02-16T16:08:41Z","body":"@csware You would not be the first person puzzled by git's CRLF machinery. :trollface:"}}