{"action":"created","issue":{"url":"https://api.github.com/repos/fishery/git_is_touched/issues/1","repository_url":"https://api.github.com/repos/fishery/git_is_touched","labels_url":"https://api.github.com/repos/fishery/git_is_touched/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/fishery/git_is_touched/issues/1/comments","events_url":"https://api.github.com/repos/fishery/git_is_touched/issues/1/events","html_url":"https://github.com/fishery/git_is_touched/issues/1","id":142117619,"number":1,"title":"Is the description accurate enough?","user":{"login":"bucaran","id":8317250,"avatar_url":"https://avatars.githubusercontent.com/u/8317250?v=3","gravatar_id":"","url":"https://api.github.com/users/bucaran","html_url":"https://github.com/bucaran","followers_url":"https://api.github.com/users/bucaran/followers","following_url":"https://api.github.com/users/bucaran/following{/other_user}","gists_url":"https://api.github.com/users/bucaran/gists{/gist_id}","starred_url":"https://api.github.com/users/bucaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bucaran/subscriptions","organizations_url":"https://api.github.com/users/bucaran/orgs","repos_url":"https://api.github.com/users/bucaran/repos","events_url":"https://api.github.com/users/bucaran/events{/privacy}","received_events_url":"https://api.github.com/users/bucaran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-03-20T01:24:13Z","updated_at":"2016-03-20T06:51:05Z","closed_at":null,"body":"@sotayamashita said:\r\n > I think desc of git_is_touched should be Test if there are untracked files cuz it's based git original message...?\r\n\r\nYes, git_is_touched causes $status to become 0 if there are untracked files, and TBH I use it mostly for that. But, it _also_ causes $status to become 0 in the following cases:\r\n\r\n* If there are dirty files (changes in committed files).\r\n* If there are staged files.\r\n\r\nSo, it essentially is a mixture of git_is_staged, git_is_dirty and also check for untracked files.\r\n\r\nPerhaps we need a new function, git_has_untracked, to check only for untracked files.\r\n\r\nWhat do you think?\r\n\r\n## See Also\r\n\r\n* git_is_empty"},"comment":{"url":"https://api.github.com/repos/fishery/git_is_touched/issues/comments/198859083","html_url":"https://github.com/fishery/git_is_touched/issues/1#issuecomment-198859083","issue_url":"https://api.github.com/repos/fishery/git_is_touched/issues/1","id":198859083,"user":{"login":"sotayamashita","id":1587053,"avatar_url":"https://avatars.githubusercontent.com/u/1587053?v=3","gravatar_id":"","url":"https://api.github.com/users/sotayamashita","html_url":"https://github.com/sotayamashita","followers_url":"https://api.github.com/users/sotayamashita/followers","following_url":"https://api.github.com/users/sotayamashita/following{/other_user}","gists_url":"https://api.github.com/users/sotayamashita/gists{/gist_id}","starred_url":"https://api.github.com/users/sotayamashita/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sotayamashita/subscriptions","organizations_url":"https://api.github.com/users/sotayamashita/orgs","repos_url":"https://api.github.com/users/sotayamashita/repos","events_url":"https://api.github.com/users/sotayamashita/events{/privacy}","received_events_url":"https://api.github.com/users/sotayamashita/received_events","type":"User","site_admin":false},"created_at":"2016-03-20T06:51:05Z","updated_at":"2016-03-20T06:51:05Z","body":"@bucaran \r\n\r\n> I think this is what we want, probably the fastest way and with fewest forks, but I am not sure if --exclude-standard is available in older git versions.\r\n\r\nAccording to the [git-ls-files(1) Manual Page](https://git-scm.com/docs/git-ls-files/1.8.2.1), it has been available since v1.8.2 at least. "}}