{"action":"created","comment":{"url":"https://api.github.com/repos/nabijaczleweli/checksums/pulls/comments/75941552","id":75941552,"diff_hunk":"@@ -105,9 +91,14 @@ impl Options {\n             algorithm: Algorithm::from_str(matches.value_of(\"algorithm\").unwrap()).unwrap(),\n             verify: verify,\n             depth: if matches.is_present(\"recursive\") {\n-                DepthSetting::Infinite\n+                None\n             } else {\n-                DepthSetting::from_str(matches.value_of(\"depth\").unwrap_or(\"0\")).unwrap()\n+                let i = matches.value_of(\"depth\").map(|s| s.parse::<isize>().unwrap()).unwrap_or(1);\n+                if i <= 0 {","path":"src/options.rs","position":41,"original_position":41,"commit_id":"b6db942bd8fde1f9dec8be0c26cf2e63d1846711","original_commit_id":"b6db942bd8fde1f9dec8be0c26cf2e63d1846711","user":{"login":"nabijaczleweli","id":6709544,"avatar_url":"https://avatars.githubusercontent.com/u/6709544?v=3","gravatar_id":"","url":"https://api.github.com/users/nabijaczleweli","html_url":"https://github.com/nabijaczleweli","followers_url":"https://api.github.com/users/nabijaczleweli/followers","following_url":"https://api.github.com/users/nabijaczleweli/following{/other_user}","gists_url":"https://api.github.com/users/nabijaczleweli/gists{/gist_id}","starred_url":"https://api.github.com/users/nabijaczleweli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nabijaczleweli/subscriptions","organizations_url":"https://api.github.com/users/nabijaczleweli/orgs","repos_url":"https://api.github.com/users/nabijaczleweli/repos","events_url":"https://api.github.com/users/nabijaczleweli/events{/privacy}","received_events_url":"https://api.github.com/users/nabijaczleweli/received_events","type":"User","site_admin":false},"body":"Yes, I saw that :)","created_at":"2016-08-23T20:12:37Z","updated_at":"2016-08-23T20:12:37Z","html_url":"https://github.com/nabijaczleweli/checksums/pull/10#discussion_r75941552","pull_request_url":"https://api.github.com/repos/nabijaczleweli/checksums/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/nabijaczleweli/checksums/pulls/comments/75941552"},"html":{"href":"https://github.com/nabijaczleweli/checksums/pull/10#discussion_r75941552"},"pull_request":{"href":"https://api.github.com/repos/nabijaczleweli/checksums/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/nabijaczleweli/checksums/pulls/10","id":82276454,"html_url":"https://github.com/nabijaczleweli/checksums/pull/10","diff_url":"https://github.com/nabijaczleweli/checksums/pull/10.diff","patch_url":"https://github.com/nabijaczleweli/checksums/pull/10.patch","issue_url":"https://api.github.com/repos/nabijaczleweli/checksums/issues/10","number":10,"state":"open","locked":false,"title":"Use walkdir crate to recurse","user":{"login":"Dr-Emann","id":1153779,"avatar_url":"https://avatars.githubusercontent.com/u/1153779?v=3","gravatar_id":"","url":"https://api.github.com/users/Dr-Emann","html_url":"https://github.com/Dr-Emann","followers_url":"https://api.github.com/users/Dr-Emann/followers","following_url":"https://api.github.com/users/Dr-Emann/following{/other_user}","gists_url":"https://api.github.com/users/Dr-Emann/gists{/gist_id}","starred_url":"https://api.github.com/users/Dr-Emann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dr-Emann/subscriptions","organizations_url":"https://api.github.com/users/Dr-Emann/orgs","repos_url":"https://api.github.com/users/Dr-Emann/repos","events_url":"https://api.github.com/users/Dr-Emann/events{/privacy}","received_events_url":"https://api.github.com/users/Dr-Emann/received_events","type":"User","site_admin":false},"body":"walkdir even has a max depth setting already.","created_at":"2016-08-22T22:45:57Z","updated_at":"2016-08-23T20:12:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89f9743f23ab14c28f20e44434bcc7517aff3549","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/nabijaczleweli/checksums/pulls/10/commits","review_comments_url":"https://api.github.com/repos/nabijaczleweli/checksums/pulls/10/comments","review_comment_url":"https://api.github.com/repos/nabijaczleweli/checksums/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nabijaczleweli/checksums/issues/10/comments","statuses_url":"https://api.github.com/repos/nabijaczleweli/checksums/statuses/b6db942bd8fde1f9dec8be0c26cf2e63d1846711","head":{"label":"Dr-Emann:walkdir","ref":"walkdir","sha":"b6db942bd8fde1f9dec8be0c26cf2e63d1846711","user":{"login":"Dr-Emann","id":1153779,"avatar_url":"https://avatars.githubusercontent.com/u/1153779?v=3","gravatar_id":"","url":"https://api.github.com/users/Dr-Emann","html_url":"https://github.com/Dr-Emann","followers_url":"https://api.github.com/users/Dr-Emann/followers","following_url":"https://api.github.com/users/Dr-Emann/following{/other_user}","gists_url":"https://api.github.com/users/Dr-Emann/gists{/gist_id}","starred_url":"https://api.github.com/users/Dr-Emann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dr-Emann/subscriptions","organizations_url":"https://api.github.com/users/Dr-Emann/orgs","repos_url":"https://api.github.com/users/Dr-Emann/repos","events_url":"https://api.github.com/users/Dr-Emann/events{/privacy}","received_events_url":"https://api.github.com/users/Dr-Emann/received_events","type":"User","site_admin":false},"repo":{"id":66092332,"name":"checksums","full_name":"Dr-Emann/checksums","owner":{"login":"Dr-Emann","id":1153779,"avatar_url":"https://avatars.githubusercontent.com/u/1153779?v=3","gravatar_id":"","url":"https://api.github.com/users/Dr-Emann","html_url":"https://github.com/Dr-Emann","followers_url":"https://api.github.com/users/Dr-Emann/followers","following_url":"https://api.github.com/users/Dr-Emann/following{/other_user}","gists_url":"https://api.github.com/users/Dr-Emann/gists{/gist_id}","starred_url":"https://api.github.com/users/Dr-Emann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dr-Emann/subscriptions","organizations_url":"https://api.github.com/users/Dr-Emann/orgs","repos_url":"https://api.github.com/users/Dr-Emann/repos","events_url":"https://api.github.com/users/Dr-Emann/events{/privacy}","received_events_url":"https://api.github.com/users/Dr-Emann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Dr-Emann/checksums","description":"Tool for making/verifying checksums of directory trees","fork":true,"url":"https://api.github.com/repos/Dr-Emann/checksums","forks_url":"https://api.github.com/repos/Dr-Emann/checksums/forks","keys_url":"https://api.github.com/repos/Dr-Emann/checksums/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Dr-Emann/checksums/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Dr-Emann/checksums/teams","hooks_url":"https://api.github.com/repos/Dr-Emann/checksums/hooks","issue_events_url":"https://api.github.com/repos/Dr-Emann/checksums/issues/events{/number}","events_url":"https://api.github.com/repos/Dr-Emann/checksums/events","assignees_url":"https://api.github.com/repos/Dr-Emann/checksums/assignees{/user}","branches_url":"https://api.github.com/repos/Dr-Emann/checksums/branches{/branch}","tags_url":"https://api.github.com/repos/Dr-Emann/checksums/tags","blobs_url":"https://api.github.com/repos/Dr-Emann/checksums/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Dr-Emann/checksums/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Dr-Emann/checksums/git/refs{/sha}","trees_url":"https://api.github.com/repos/Dr-Emann/checksums/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Dr-Emann/checksums/statuses/{sha}","languages_url":"https://api.github.com/repos/Dr-Emann/checksums/languages","stargazers_url":"https://api.github.com/repos/Dr-Emann/checksums/stargazers","contributors_url":"https://api.github.com/repos/Dr-Emann/checksums/contributors","subscribers_url":"https://api.github.com/repos/Dr-Emann/checksums/subscribers","subscription_url":"https://api.github.com/repos/Dr-Emann/checksums/subscription","commits_url":"https://api.github.com/repos/Dr-Emann/checksums/commits{/sha}","git_commits_url":"https://api.github.com/repos/Dr-Emann/checksums/git/commits{/sha}","comments_url":"https://api.github.com/repos/Dr-Emann/checksums/comments{/number}","issue_comment_url":"https://api.github.com/repos/Dr-Emann/checksums/issues/comments{/number}","contents_url":"https://api.github.com/repos/Dr-Emann/checksums/contents/{+path}","compare_url":"https://api.github.com/repos/Dr-Emann/checksums/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Dr-Emann/checksums/merges","archive_url":"https://api.github.com/repos/Dr-Emann/checksums/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Dr-Emann/checksums/downloads","issues_url":"https://api.github.com/repos/Dr-Emann/checksums/issues{/number}","pulls_url":"https://api.github.com/repos/Dr-Emann/checksums/pulls{/number}","milestones_url":"https://api.github.com/repos/Dr-Emann/checksums/milestones{/number}","notifications_url":"https://api.github.com/repos/Dr-Emann/checksums/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Dr-Emann/checksums/labels{/name}","releases_url":"https://api.github.com/repos/Dr-Emann/checksums/releases{/id}","deployments_url":"https://api.github.com/repos/Dr-Emann/checksums/deployments","created_at":"2016-08-19T15:27:41Z","updated_at":"2016-08-19T15:27:42Z","pushed_at":"2016-08-23T18:55:11Z","git_url":"git://github.com/Dr-Emann/checksums.git","ssh_url":"git@github.com:Dr-Emann/checksums.git","clone_url":"https://github.com/Dr-Emann/checksums.git","svn_url":"https://github.com/Dr-Emann/checksums","homepage":"","size":3561,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nabijaczleweli:master","ref":"master","sha":"8a0226cf73b48793fc89ef398a69645343978663","user":{"login":"nabijaczleweli","id":6709544,"avatar_url":"https://avatars.githubusercontent.com/u/6709544?v=3","gravatar_id":"","url":"https://api.github.com/users/nabijaczleweli","html_url":"https://github.com/nabijaczleweli","followers_url":"https://api.github.com/users/nabijaczleweli/followers","following_url":"https://api.github.com/users/nabijaczleweli/following{/other_user}","gists_url":"https://api.github.com/users/nabijaczleweli/gists{/gist_id}","starred_url":"https://api.github.com/users/nabijaczleweli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nabijaczleweli/subscriptions","organizations_url":"https://api.github.com/users/nabijaczleweli/orgs","repos_url":"https://api.github.com/users/nabijaczleweli/repos","events_url":"https://api.github.com/users/nabijaczleweli/events{/privacy}","received_events_url":"https://api.github.com/users/nabijaczleweli/received_events","type":"User","site_admin":false},"repo":{"id":65666048,"name":"checksums","full_name":"nabijaczleweli/checksums","owner":{"login":"nabijaczleweli","id":6709544,"avatar_url":"https://avatars.githubusercontent.com/u/6709544?v=3","gravatar_id":"","url":"https://api.github.com/users/nabijaczleweli","html_url":"https://github.com/nabijaczleweli","followers_url":"https://api.github.com/users/nabijaczleweli/followers","following_url":"https://api.github.com/users/nabijaczleweli/following{/other_user}","gists_url":"https://api.github.com/users/nabijaczleweli/gists{/gist_id}","starred_url":"https://api.github.com/users/nabijaczleweli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nabijaczleweli/subscriptions","organizations_url":"https://api.github.com/users/nabijaczleweli/orgs","repos_url":"https://api.github.com/users/nabijaczleweli/repos","events_url":"https://api.github.com/users/nabijaczleweli/events{/privacy}","received_events_url":"https://api.github.com/users/nabijaczleweli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nabijaczleweli/checksums","description":"Tool for making/verifying checksums of directory trees","fork":false,"url":"https://api.github.com/repos/nabijaczleweli/checksums","forks_url":"https://api.github.com/repos/nabijaczleweli/checksums/forks","keys_url":"https://api.github.com/repos/nabijaczleweli/checksums/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nabijaczleweli/checksums/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nabijaczleweli/checksums/teams","hooks_url":"https://api.github.com/repos/nabijaczleweli/checksums/hooks","issue_events_url":"https://api.github.com/repos/nabijaczleweli/checksums/issues/events{/number}","events_url":"https://api.github.com/repos/nabijaczleweli/checksums/events","assignees_url":"https://api.github.com/repos/nabijaczleweli/checksums/assignees{/user}","branches_url":"https://api.github.com/repos/nabijaczleweli/checksums/branches{/branch}","tags_url":"https://api.github.com/repos/nabijaczleweli/checksums/tags","blobs_url":"https://api.github.com/repos/nabijaczleweli/checksums/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nabijaczleweli/checksums/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nabijaczleweli/checksums/git/refs{/sha}","trees_url":"https://api.github.com/repos/nabijaczleweli/checksums/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nabijaczleweli/checksums/statuses/{sha}","languages_url":"https://api.github.com/repos/nabijaczleweli/checksums/languages","stargazers_url":"https://api.github.com/repos/nabijaczleweli/checksums/stargazers","contributors_url":"https://api.github.com/repos/nabijaczleweli/checksums/contributors","subscribers_url":"https://api.github.com/repos/nabijaczleweli/checksums/subscribers","subscription_url":"https://api.github.com/repos/nabijaczleweli/checksums/subscription","commits_url":"https://api.github.com/repos/nabijaczleweli/checksums/commits{/sha}","git_commits_url":"https://api.github.com/repos/nabijaczleweli/checksums/git/commits{/sha}","comments_url":"https://api.github.com/repos/nabijaczleweli/checksums/comments{/number}","issue_comment_url":"https://api.github.com/repos/nabijaczleweli/checksums/issues/comments{/number}","contents_url":"https://api.github.com/repos/nabijaczleweli/checksums/contents/{+path}","compare_url":"https://api.github.com/repos/nabijaczleweli/checksums/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nabijaczleweli/checksums/merges","archive_url":"https://api.github.com/repos/nabijaczleweli/checksums/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nabijaczleweli/checksums/downloads","issues_url":"https://api.github.com/repos/nabijaczleweli/checksums/issues{/number}","pulls_url":"https://api.github.com/repos/nabijaczleweli/checksums/pulls{/number}","milestones_url":"https://api.github.com/repos/nabijaczleweli/checksums/milestones{/number}","notifications_url":"https://api.github.com/repos/nabijaczleweli/checksums/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nabijaczleweli/checksums/labels{/name}","releases_url":"https://api.github.com/repos/nabijaczleweli/checksums/releases{/id}","deployments_url":"https://api.github.com/repos/nabijaczleweli/checksums/deployments","created_at":"2016-08-14T12:50:53Z","updated_at":"2016-08-22T21:52:27Z","pushed_at":"2016-08-23T18:55:12Z","git_url":"git://github.com/nabijaczleweli/checksums.git","ssh_url":"git@github.com:nabijaczleweli/checksums.git","clone_url":"https://github.com/nabijaczleweli/checksums.git","svn_url":"https://github.com/nabijaczleweli/checksums","homepage":"","size":3589,"stargazers_count":9,"watchers_count":9,"language":"Rust","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nabijaczleweli/checksums/pulls/10"},"html":{"href":"https://github.com/nabijaczleweli/checksums/pull/10"},"issue":{"href":"https://api.github.com/repos/nabijaczleweli/checksums/issues/10"},"comments":{"href":"https://api.github.com/repos/nabijaczleweli/checksums/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/nabijaczleweli/checksums/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/nabijaczleweli/checksums/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nabijaczleweli/checksums/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/nabijaczleweli/checksums/statuses/b6db942bd8fde1f9dec8be0c26cf2e63d1846711"}}}}
{"actor":{"display_login":"nabijaczleweli"}}