{"action":"created","issue":{"url":"https://api.github.com/repos/tj/git-extras/issues/344","labels_url":"https://api.github.com/repos/tj/git-extras/issues/344/labels{/name}","comments_url":"https://api.github.com/repos/tj/git-extras/issues/344/comments","events_url":"https://api.github.com/repos/tj/git-extras/issues/344/events","html_url":"https://github.com/tj/git-extras/pull/344","id":67237765,"number":344,"title":"Prevent strange input and environment variables from causing issues","user":{"login":"Somasis","id":264788,"avatar_url":"https://avatars.githubusercontent.com/u/264788?v=3","gravatar_id":"","url":"https://api.github.com/users/Somasis","html_url":"https://github.com/Somasis","followers_url":"https://api.github.com/users/Somasis/followers","following_url":"https://api.github.com/users/Somasis/following{/other_user}","gists_url":"https://api.github.com/users/Somasis/gists{/gist_id}","starred_url":"https://api.github.com/users/Somasis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Somasis/subscriptions","organizations_url":"https://api.github.com/users/Somasis/orgs","repos_url":"https://api.github.com/users/Somasis/repos","events_url":"https://api.github.com/users/Somasis/events{/privacy}","received_events_url":"https://api.github.com/users/Somasis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-08T22:53:48Z","updated_at":"2015-04-09T03:51:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/tj/git-extras/pulls/344","html_url":"https://github.com/tj/git-extras/pull/344","diff_url":"https://github.com/tj/git-extras/pull/344.diff","patch_url":"https://github.com/tj/git-extras/pull/344.patch"},"body":"GNU `grep` always looks for GREP_OPTIONS in the environment, and since\nwe don't unset it on run, this can result in some issues concerning the\nusage of `grep` in scripts. So, we should unset it so nothing strange\ncan occur.\n\nIn addition, strange things can happen if you give `grep` input, and\nit interprets it as an argument. So, we should use `--` whenever using\nit for patterns that have a chance to be influenced by the user."},"comment":{"url":"https://api.github.com/repos/tj/git-extras/issues/comments/91108911","html_url":"https://github.com/tj/git-extras/pull/344#issuecomment-91108911","issue_url":"https://api.github.com/repos/tj/git-extras/issues/344","id":91108911,"user":{"login":"hemanth","id":18315,"avatar_url":"https://avatars.githubusercontent.com/u/18315?v=3","gravatar_id":"","url":"https://api.github.com/users/hemanth","html_url":"https://github.com/hemanth","followers_url":"https://api.github.com/users/hemanth/followers","following_url":"https://api.github.com/users/hemanth/following{/other_user}","gists_url":"https://api.github.com/users/hemanth/gists{/gist_id}","starred_url":"https://api.github.com/users/hemanth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hemanth/subscriptions","organizations_url":"https://api.github.com/users/hemanth/orgs","repos_url":"https://api.github.com/users/hemanth/repos","events_url":"https://api.github.com/users/hemanth/events{/privacy}","received_events_url":"https://api.github.com/users/hemanth/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T03:51:22Z","updated_at":"2015-04-09T03:51:22Z","body":"Thank you!"}}