{"action":"created","issue":{"url":"https://api.github.com/repos/cplusplus/draft/issues/484","repository_url":"https://api.github.com/repos/cplusplus/draft","labels_url":"https://api.github.com/repos/cplusplus/draft/issues/484/labels{/name}","comments_url":"https://api.github.com/repos/cplusplus/draft/issues/484/comments","events_url":"https://api.github.com/repos/cplusplus/draft/issues/484/events","html_url":"https://github.com/cplusplus/draft/issues/484","id":70987690,"number":484,"title":"Forcing git to consider PDFs as binary files","user":{"login":"aaronpuchert","id":1453952,"avatar_url":"https://avatars.githubusercontent.com/u/1453952?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronpuchert","html_url":"https://github.com/aaronpuchert","followers_url":"https://api.github.com/users/aaronpuchert/followers","following_url":"https://api.github.com/users/aaronpuchert/following{/other_user}","gists_url":"https://api.github.com/users/aaronpuchert/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronpuchert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronpuchert/subscriptions","organizations_url":"https://api.github.com/users/aaronpuchert/orgs","repos_url":"https://api.github.com/users/aaronpuchert/repos","events_url":"https://api.github.com/users/aaronpuchert/events{/privacy}","received_events_url":"https://api.github.com/users/aaronpuchert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jensmaurer","id":23412755,"avatar_url":"https://avatars.githubusercontent.com/u/23412755?v=3","gravatar_id":"","url":"https://api.github.com/users/jensmaurer","html_url":"https://github.com/jensmaurer","followers_url":"https://api.github.com/users/jensmaurer/followers","following_url":"https://api.github.com/users/jensmaurer/following{/other_user}","gists_url":"https://api.github.com/users/jensmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/jensmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jensmaurer/subscriptions","organizations_url":"https://api.github.com/users/jensmaurer/orgs","repos_url":"https://api.github.com/users/jensmaurer/repos","events_url":"https://api.github.com/users/jensmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/jensmaurer/received_events","type":"User","site_admin":false},"assignees":[{"login":"jensmaurer","id":23412755,"avatar_url":"https://avatars.githubusercontent.com/u/23412755?v=3","gravatar_id":"","url":"https://api.github.com/users/jensmaurer","html_url":"https://github.com/jensmaurer","followers_url":"https://api.github.com/users/jensmaurer/followers","following_url":"https://api.github.com/users/jensmaurer/following{/other_user}","gists_url":"https://api.github.com/users/jensmaurer/gists{/gist_id}","starred_url":"https://api.github.com/users/jensmaurer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jensmaurer/subscriptions","organizations_url":"https://api.github.com/users/jensmaurer/orgs","repos_url":"https://api.github.com/users/jensmaurer/repos","events_url":"https://api.github.com/users/jensmaurer/events{/privacy}","received_events_url":"https://api.github.com/users/jensmaurer/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2015-04-26T00:43:57Z","updated_at":"2016-11-29T00:09:32Z","closed_at":null,"body":"It seems that git is incorrectly considering some PDFs as text files, e.g. `papers/n4431.pdf`. One can force git to consider files with certain endings to be binary using the `.gitattributes` file. According to the [docs](http://git-scm.com/docs/gitattributes#_marking_files_as_binary), the line\n\n```\n*.pdf -diff\n```\n\nshould solve the issue.\n"},"comment":{"url":"https://api.github.com/repos/cplusplus/draft/issues/comments/263435953","html_url":"https://github.com/cplusplus/draft/issues/484#issuecomment-263435953","issue_url":"https://api.github.com/repos/cplusplus/draft/issues/484","id":263435953,"user":{"login":"tkoeppe","id":6378233,"avatar_url":"https://avatars.githubusercontent.com/u/6378233?v=3","gravatar_id":"","url":"https://api.github.com/users/tkoeppe","html_url":"https://github.com/tkoeppe","followers_url":"https://api.github.com/users/tkoeppe/followers","following_url":"https://api.github.com/users/tkoeppe/following{/other_user}","gists_url":"https://api.github.com/users/tkoeppe/gists{/gist_id}","starred_url":"https://api.github.com/users/tkoeppe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkoeppe/subscriptions","organizations_url":"https://api.github.com/users/tkoeppe/orgs","repos_url":"https://api.github.com/users/tkoeppe/repos","events_url":"https://api.github.com/users/tkoeppe/events{/privacy}","received_events_url":"https://api.github.com/users/tkoeppe/received_events","type":"User","site_admin":false},"created_at":"2016-11-29T00:09:32Z","updated_at":"2016-11-29T00:09:32Z","body":"@aaronpuchert: To be pedantic, the PDF files you are seeing as text *are* serialized as text. That's why they're 11MB, rather than the binary-serialized versions that come it at under 6MB. Your proposal would be adding a deliberate override to not treat those text files as text."}}
{"actor":{"display_login":"tkoeppe"}}