{"action":"created","issue":{"url":"https://api.github.com/repos/petdance/ack2/issues/596","repository_url":"https://api.github.com/repos/petdance/ack2","labels_url":"https://api.github.com/repos/petdance/ack2/issues/596/labels{/name}","comments_url":"https://api.github.com/repos/petdance/ack2/issues/596/comments","events_url":"https://api.github.com/repos/petdance/ack2/issues/596/events","html_url":"https://github.com/petdance/ack2/issues/596","id":144221184,"number":596,"title":"Trim or ignore long lines","user":{"login":"wheany","id":1373975,"avatar_url":"https://avatars.githubusercontent.com/u/1373975?v=3","gravatar_id":"","url":"https://api.github.com/users/wheany","html_url":"https://github.com/wheany","followers_url":"https://api.github.com/users/wheany/followers","following_url":"https://api.github.com/users/wheany/following{/other_user}","gists_url":"https://api.github.com/users/wheany/gists{/gist_id}","starred_url":"https://api.github.com/users/wheany/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wheany/subscriptions","organizations_url":"https://api.github.com/users/wheany/orgs","repos_url":"https://api.github.com/users/wheany/repos","events_url":"https://api.github.com/users/wheany/events{/privacy}","received_events_url":"https://api.github.com/users/wheany/received_events","type":"User","site_admin":false},"labels":[{"id":1535252,"url":"https://api.github.com/repos/petdance/ack2/labels/feature","name":"feature","color":"e102d8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2016-03-29T10:18:13Z","updated_at":"2016-11-08T17:40:21Z","closed_at":null,"body":"If ack finds a match in e.g. minified js file, or other files with just one or few very long lines, it will flood the output with the contents of the file and likely push all useful matches off-screen.\n\nI would like an option to either ignore such matches altogether (maybe list the file name), or possibly to only show some number of characters worth of context around the match.\n"},"comment":{"url":"https://api.github.com/repos/petdance/ack2/issues/comments/259205562","html_url":"https://github.com/petdance/ack2/issues/596#issuecomment-259205562","issue_url":"https://api.github.com/repos/petdance/ack2/issues/596","id":259205562,"user":{"login":"jmhutch","id":78174,"avatar_url":"https://avatars.githubusercontent.com/u/78174?v=3","gravatar_id":"","url":"https://api.github.com/users/jmhutch","html_url":"https://github.com/jmhutch","followers_url":"https://api.github.com/users/jmhutch/followers","following_url":"https://api.github.com/users/jmhutch/following{/other_user}","gists_url":"https://api.github.com/users/jmhutch/gists{/gist_id}","starred_url":"https://api.github.com/users/jmhutch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmhutch/subscriptions","organizations_url":"https://api.github.com/users/jmhutch/orgs","repos_url":"https://api.github.com/users/jmhutch/repos","events_url":"https://api.github.com/users/jmhutch/events{/privacy}","received_events_url":"https://api.github.com/users/jmhutch/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T17:40:21Z","updated_at":"2016-11-08T17:40:21Z","body":"In some cases it's actually desirable to see results within minified js (assuming it's all that's available) to put back-end code into context of a front-end call, for instance. Having the option to truncate excessively long lines at a specified limit or otherwise provide limited contextual results would be flexible and useful in a number of common use cases, rather than just excluding the files outright."}}
{"actor":{"display_login":"jmhutch"}}