{"action":"created","issue":{"url":"https://api.github.com/repos/hishamhm/htop/issues/457","repository_url":"https://api.github.com/repos/hishamhm/htop","labels_url":"https://api.github.com/repos/hishamhm/htop/issues/457/labels{/name}","comments_url":"https://api.github.com/repos/hishamhm/htop/issues/457/comments","events_url":"https://api.github.com/repos/hishamhm/htop/issues/457/events","html_url":"https://github.com/hishamhm/htop/pull/457","id":142264511,"number":457,"title":"Clean up trailing whitespaces","user":{"login":"Explorer09","id":2487263,"avatar_url":"https://avatars.githubusercontent.com/u/2487263?v=3","gravatar_id":"","url":"https://api.github.com/users/Explorer09","html_url":"https://github.com/Explorer09","followers_url":"https://api.github.com/users/Explorer09/followers","following_url":"https://api.github.com/users/Explorer09/following{/other_user}","gists_url":"https://api.github.com/users/Explorer09/gists{/gist_id}","starred_url":"https://api.github.com/users/Explorer09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Explorer09/subscriptions","organizations_url":"https://api.github.com/users/Explorer09/orgs","repos_url":"https://api.github.com/users/Explorer09/repos","events_url":"https://api.github.com/users/Explorer09/events{/privacy}","received_events_url":"https://api.github.com/users/Explorer09/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-21T05:49:05Z","updated_at":"2016-03-21T23:54:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hishamhm/htop/pulls/457","html_url":"https://github.com/hishamhm/htop/pull/457","diff_url":"https://github.com/hishamhm/htop/pull/457.diff","patch_url":"https://github.com/hishamhm/htop/pull/457.patch"},"body":"Trailing whitespaces (and whitespace indents in otherwise blank lines)\r\nare bringing me unnecessary merge conflicts when I try merging local\r\nbranches. It's good to clean up all of them at once.\r\n\r\n(And yes I'll rebase my other pull requests here upon this one.)"},"comment":{"url":"https://api.github.com/repos/hishamhm/htop/issues/comments/199543285","html_url":"https://github.com/hishamhm/htop/pull/457#issuecomment-199543285","issue_url":"https://api.github.com/repos/hishamhm/htop/issues/457","id":199543285,"user":{"login":"hishamhm","id":245621,"avatar_url":"https://avatars.githubusercontent.com/u/245621?v=3","gravatar_id":"","url":"https://api.github.com/users/hishamhm","html_url":"https://github.com/hishamhm","followers_url":"https://api.github.com/users/hishamhm/followers","following_url":"https://api.github.com/users/hishamhm/following{/other_user}","gists_url":"https://api.github.com/users/hishamhm/gists{/gist_id}","starred_url":"https://api.github.com/users/hishamhm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hishamhm/subscriptions","organizations_url":"https://api.github.com/users/hishamhm/orgs","repos_url":"https://api.github.com/users/hishamhm/repos","events_url":"https://api.github.com/users/hishamhm/events{/privacy}","received_events_url":"https://api.github.com/users/hishamhm/received_events","type":"User","site_admin":false},"created_at":"2016-03-21T23:54:23Z","updated_at":"2016-03-21T23:54:23Z","body":"Sorry, I'm not merging this. Turns out I _like_ these trailing whitespaces in blank lines from indented blocks when navigating documents.\r\n\r\n[mini-rant] I believe the current trend on hating trailing whitespaces was originated with Linus Torvalds not liking them, coding this pedantry into Git, which contaminated text editors (which started painting trailing whitespace in glaring colors in recent years) and then into users who now call them \"ugly\" (mostly influenced by text editor highlighting). [/mini-rant]\r\n\r\nPlease configure your text editor to not discard trailing whitespaces and your merging issues will go away.\r\nIt looks like http://editorconfig.org/ includes a `trim_trailing_whitespace=false` option. Please test it, and if it fixes your problems, we can add it to `.editorconfig` in the htop repo."}}