{"action":"created","comment":{"url":"https://api.github.com/repos/Kacper20/TIN/pulls/comments/64140936","id":64140936,"diff_hunk":"@@ -0,0 +1,121 @@\n+//\n+// Created by daria on 21.05.16.\n+//\n+\n+#include \"InputHandler.h\"\n+#include <iostream>\n+#include <cstring>\n+\n+void InputHandler::run()\n+{\n+    std::cout << \"Waiting for a command:\\n\";\n+    std::string command;\n+    std::string name;\n+\n+    while ( name != \"exit\")","path":"Sources/Administrator/InputHandler.cpp","position":15,"original_position":15,"commit_id":"7edb73daaa55d702174f96ac7752e01a99445132","original_commit_id":"7edb73daaa55d702174f96ac7752e01a99445132","user":{"login":"Kacper20","id":6010341,"avatar_url":"https://avatars.githubusercontent.com/u/6010341?v=3","gravatar_id":"","url":"https://api.github.com/users/Kacper20","html_url":"https://github.com/Kacper20","followers_url":"https://api.github.com/users/Kacper20/followers","following_url":"https://api.github.com/users/Kacper20/following{/other_user}","gists_url":"https://api.github.com/users/Kacper20/gists{/gist_id}","starred_url":"https://api.github.com/users/Kacper20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kacper20/subscriptions","organizations_url":"https://api.github.com/users/Kacper20/orgs","repos_url":"https://api.github.com/users/Kacper20/repos","events_url":"https://api.github.com/users/Kacper20/events{/privacy}","received_events_url":"https://api.github.com/users/Kacper20/received_events","type":"User","site_admin":false},"body":"Maybe do while loop would be better? Just suggestion, but i think in this case code is better structured in `do {} while`","created_at":"2016-05-21T21:59:07Z","updated_at":"2016-05-21T21:59:07Z","html_url":"https://github.com/Kacper20/TIN/pull/17#discussion_r64140936","pull_request_url":"https://api.github.com/repos/Kacper20/TIN/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/Kacper20/TIN/pulls/comments/64140936"},"html":{"href":"https://github.com/Kacper20/TIN/pull/17#discussion_r64140936"},"pull_request":{"href":"https://api.github.com/repos/Kacper20/TIN/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/Kacper20/TIN/pulls/17","id":70961393,"html_url":"https://github.com/Kacper20/TIN/pull/17","diff_url":"https://github.com/Kacper20/TIN/pull/17.diff","patch_url":"https://github.com/Kacper20/TIN/pull/17.patch","issue_url":"https://api.github.com/repos/Kacper20/TIN/issues/17","number":17,"state":"open","locked":false,"title":"sorry for the chaotic commits - problems with the GitKraken client","user":{"login":"DariaDanilenko","id":12035465,"avatar_url":"https://avatars.githubusercontent.com/u/12035465?v=3","gravatar_id":"","url":"https://api.github.com/users/DariaDanilenko","html_url":"https://github.com/DariaDanilenko","followers_url":"https://api.github.com/users/DariaDanilenko/followers","following_url":"https://api.github.com/users/DariaDanilenko/following{/other_user}","gists_url":"https://api.github.com/users/DariaDanilenko/gists{/gist_id}","starred_url":"https://api.github.com/users/DariaDanilenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DariaDanilenko/subscriptions","organizations_url":"https://api.github.com/users/DariaDanilenko/orgs","repos_url":"https://api.github.com/users/DariaDanilenko/repos","events_url":"https://api.github.com/users/DariaDanilenko/events{/privacy}","received_events_url":"https://api.github.com/users/DariaDanilenko/received_events","type":"User","site_admin":false},"body":"Finally managed to separate branches. Sorry for the inconvenience.","created_at":"2016-05-21T21:53:16Z","updated_at":"2016-05-21T21:59:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f799917f00e809a1461321fe2d03dd7b3fccedaf","assignee":{"login":"Kacper20","id":6010341,"avatar_url":"https://avatars.githubusercontent.com/u/6010341?v=3","gravatar_id":"","url":"https://api.github.com/users/Kacper20","html_url":"https://github.com/Kacper20","followers_url":"https://api.github.com/users/Kacper20/followers","following_url":"https://api.github.com/users/Kacper20/following{/other_user}","gists_url":"https://api.github.com/users/Kacper20/gists{/gist_id}","starred_url":"https://api.github.com/users/Kacper20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kacper20/subscriptions","organizations_url":"https://api.github.com/users/Kacper20/orgs","repos_url":"https://api.github.com/users/Kacper20/repos","events_url":"https://api.github.com/users/Kacper20/events{/privacy}","received_events_url":"https://api.github.com/users/Kacper20/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Kacper20/TIN/pulls/17/commits","review_comments_url":"https://api.github.com/repos/Kacper20/TIN/pulls/17/comments","review_comment_url":"https://api.github.com/repos/Kacper20/TIN/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kacper20/TIN/issues/17/comments","statuses_url":"https://api.github.com/repos/Kacper20/TIN/statuses/7edb73daaa55d702174f96ac7752e01a99445132","head":{"label":"Kacper20:feature/administrator","ref":"feature/administrator","sha":"7edb73daaa55d702174f96ac7752e01a99445132","user":{"login":"Kacper20","id":6010341,"avatar_url":"https://avatars.githubusercontent.com/u/6010341?v=3","gravatar_id":"","url":"https://api.github.com/users/Kacper20","html_url":"https://github.com/Kacper20","followers_url":"https://api.github.com/users/Kacper20/followers","following_url":"https://api.github.com/users/Kacper20/following{/other_user}","gists_url":"https://api.github.com/users/Kacper20/gists{/gist_id}","starred_url":"https://api.github.com/users/Kacper20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kacper20/subscriptions","organizations_url":"https://api.github.com/users/Kacper20/orgs","repos_url":"https://api.github.com/users/Kacper20/repos","events_url":"https://api.github.com/users/Kacper20/events{/privacy}","received_events_url":"https://api.github.com/users/Kacper20/received_events","type":"User","site_admin":false},"repo":{"id":56088590,"name":"TIN","full_name":"Kacper20/TIN","owner":{"login":"Kacper20","id":6010341,"avatar_url":"https://avatars.githubusercontent.com/u/6010341?v=3","gravatar_id":"","url":"https://api.github.com/users/Kacper20","html_url":"https://github.com/Kacper20","followers_url":"https://api.github.com/users/Kacper20/followers","following_url":"https://api.github.com/users/Kacper20/following{/other_user}","gists_url":"https://api.github.com/users/Kacper20/gists{/gist_id}","starred_url":"https://api.github.com/users/Kacper20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kacper20/subscriptions","organizations_url":"https://api.github.com/users/Kacper20/orgs","repos_url":"https://api.github.com/users/Kacper20/repos","events_url":"https://api.github.com/users/Kacper20/events{/privacy}","received_events_url":"https://api.github.com/users/Kacper20/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kacper20/TIN","description":"","fork":false,"url":"https://api.github.com/repos/Kacper20/TIN","forks_url":"https://api.github.com/repos/Kacper20/TIN/forks","keys_url":"https://api.github.com/repos/Kacper20/TIN/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kacper20/TIN/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kacper20/TIN/teams","hooks_url":"https://api.github.com/repos/Kacper20/TIN/hooks","issue_events_url":"https://api.github.com/repos/Kacper20/TIN/issues/events{/number}","events_url":"https://api.github.com/repos/Kacper20/TIN/events","assignees_url":"https://api.github.com/repos/Kacper20/TIN/assignees{/user}","branches_url":"https://api.github.com/repos/Kacper20/TIN/branches{/branch}","tags_url":"https://api.github.com/repos/Kacper20/TIN/tags","blobs_url":"https://api.github.com/repos/Kacper20/TIN/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kacper20/TIN/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kacper20/TIN/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kacper20/TIN/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kacper20/TIN/statuses/{sha}","languages_url":"https://api.github.com/repos/Kacper20/TIN/languages","stargazers_url":"https://api.github.com/repos/Kacper20/TIN/stargazers","contributors_url":"https://api.github.com/repos/Kacper20/TIN/contributors","subscribers_url":"https://api.github.com/repos/Kacper20/TIN/subscribers","subscription_url":"https://api.github.com/repos/Kacper20/TIN/subscription","commits_url":"https://api.github.com/repos/Kacper20/TIN/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kacper20/TIN/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kacper20/TIN/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kacper20/TIN/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kacper20/TIN/contents/{+path}","compare_url":"https://api.github.com/repos/Kacper20/TIN/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kacper20/TIN/merges","archive_url":"https://api.github.com/repos/Kacper20/TIN/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kacper20/TIN/downloads","issues_url":"https://api.github.com/repos/Kacper20/TIN/issues{/number}","pulls_url":"https://api.github.com/repos/Kacper20/TIN/pulls{/number}","milestones_url":"https://api.github.com/repos/Kacper20/TIN/milestones{/number}","notifications_url":"https://api.github.com/repos/Kacper20/TIN/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kacper20/TIN/labels{/name}","releases_url":"https://api.github.com/repos/Kacper20/TIN/releases{/id}","deployments_url":"https://api.github.com/repos/Kacper20/TIN/deployments","created_at":"2016-04-12T18:39:40Z","updated_at":"2016-05-13T16:09:14Z","pushed_at":"2016-05-21T21:53:16Z","git_url":"git://github.com/Kacper20/TIN.git","ssh_url":"git@github.com:Kacper20/TIN.git","clone_url":"https://github.com/Kacper20/TIN.git","svn_url":"https://github.com/Kacper20/TIN","homepage":null,"size":135,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"Kacper20:develop","ref":"develop","sha":"90ca977998dd7f8ede4bd06f19eb9ce261bc5d44","user":{"login":"Kacper20","id":6010341,"avatar_url":"https://avatars.githubusercontent.com/u/6010341?v=3","gravatar_id":"","url":"https://api.github.com/users/Kacper20","html_url":"https://github.com/Kacper20","followers_url":"https://api.github.com/users/Kacper20/followers","following_url":"https://api.github.com/users/Kacper20/following{/other_user}","gists_url":"https://api.github.com/users/Kacper20/gists{/gist_id}","starred_url":"https://api.github.com/users/Kacper20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kacper20/subscriptions","organizations_url":"https://api.github.com/users/Kacper20/orgs","repos_url":"https://api.github.com/users/Kacper20/repos","events_url":"https://api.github.com/users/Kacper20/events{/privacy}","received_events_url":"https://api.github.com/users/Kacper20/received_events","type":"User","site_admin":false},"repo":{"id":56088590,"name":"TIN","full_name":"Kacper20/TIN","owner":{"login":"Kacper20","id":6010341,"avatar_url":"https://avatars.githubusercontent.com/u/6010341?v=3","gravatar_id":"","url":"https://api.github.com/users/Kacper20","html_url":"https://github.com/Kacper20","followers_url":"https://api.github.com/users/Kacper20/followers","following_url":"https://api.github.com/users/Kacper20/following{/other_user}","gists_url":"https://api.github.com/users/Kacper20/gists{/gist_id}","starred_url":"https://api.github.com/users/Kacper20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kacper20/subscriptions","organizations_url":"https://api.github.com/users/Kacper20/orgs","repos_url":"https://api.github.com/users/Kacper20/repos","events_url":"https://api.github.com/users/Kacper20/events{/privacy}","received_events_url":"https://api.github.com/users/Kacper20/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kacper20/TIN","description":"","fork":false,"url":"https://api.github.com/repos/Kacper20/TIN","forks_url":"https://api.github.com/repos/Kacper20/TIN/forks","keys_url":"https://api.github.com/repos/Kacper20/TIN/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kacper20/TIN/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kacper20/TIN/teams","hooks_url":"https://api.github.com/repos/Kacper20/TIN/hooks","issue_events_url":"https://api.github.com/repos/Kacper20/TIN/issues/events{/number}","events_url":"https://api.github.com/repos/Kacper20/TIN/events","assignees_url":"https://api.github.com/repos/Kacper20/TIN/assignees{/user}","branches_url":"https://api.github.com/repos/Kacper20/TIN/branches{/branch}","tags_url":"https://api.github.com/repos/Kacper20/TIN/tags","blobs_url":"https://api.github.com/repos/Kacper20/TIN/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kacper20/TIN/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kacper20/TIN/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kacper20/TIN/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kacper20/TIN/statuses/{sha}","languages_url":"https://api.github.com/repos/Kacper20/TIN/languages","stargazers_url":"https://api.github.com/repos/Kacper20/TIN/stargazers","contributors_url":"https://api.github.com/repos/Kacper20/TIN/contributors","subscribers_url":"https://api.github.com/repos/Kacper20/TIN/subscribers","subscription_url":"https://api.github.com/repos/Kacper20/TIN/subscription","commits_url":"https://api.github.com/repos/Kacper20/TIN/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kacper20/TIN/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kacper20/TIN/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kacper20/TIN/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kacper20/TIN/contents/{+path}","compare_url":"https://api.github.com/repos/Kacper20/TIN/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kacper20/TIN/merges","archive_url":"https://api.github.com/repos/Kacper20/TIN/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kacper20/TIN/downloads","issues_url":"https://api.github.com/repos/Kacper20/TIN/issues{/number}","pulls_url":"https://api.github.com/repos/Kacper20/TIN/pulls{/number}","milestones_url":"https://api.github.com/repos/Kacper20/TIN/milestones{/number}","notifications_url":"https://api.github.com/repos/Kacper20/TIN/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kacper20/TIN/labels{/name}","releases_url":"https://api.github.com/repos/Kacper20/TIN/releases{/id}","deployments_url":"https://api.github.com/repos/Kacper20/TIN/deployments","created_at":"2016-04-12T18:39:40Z","updated_at":"2016-05-13T16:09:14Z","pushed_at":"2016-05-21T21:53:16Z","git_url":"git://github.com/Kacper20/TIN.git","ssh_url":"git@github.com:Kacper20/TIN.git","clone_url":"https://github.com/Kacper20/TIN.git","svn_url":"https://github.com/Kacper20/TIN","homepage":null,"size":135,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kacper20/TIN/pulls/17"},"html":{"href":"https://github.com/Kacper20/TIN/pull/17"},"issue":{"href":"https://api.github.com/repos/Kacper20/TIN/issues/17"},"comments":{"href":"https://api.github.com/repos/Kacper20/TIN/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/Kacper20/TIN/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/Kacper20/TIN/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kacper20/TIN/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/Kacper20/TIN/statuses/7edb73daaa55d702174f96ac7752e01a99445132"}}}}
{"actor":{"display_login":"Kacper20"}}