{"action":"created","comment":{"url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/pulls/comments/35244993","id":35244993,"diff_hunk":"@@ -431,10 +455,35 @@ BOOL CLogDlg::OnInitDialog()\n \treg.Replace(_T(':'),_T('_'));\r\n \tm_History.Load(reg, _T(\"ref\"));\r\n \r\n+\tm_FromDateHistory.SetMaxHistoryItems((LONG)CRegDWORD(_T(\"Software\\\\TortoiseGit\\\\MaxFromDateHistoryItems\"), 5));\r\n+\treg.Format(_T(\"Software\\\\TortoiseGit\\\\History\\\\LogDlg_FromDates\\\\%s\"), g_Git.m_CurrentDir);\r\n+\treg.Replace(_T(':'), _T('_'));\r\n+\tm_FromDateHistory.Load(reg, _T(\"FromDate\"));\r\n+\r\n \tShowStartRef();\r\n \treturn FALSE;\r\n }\r\n \r\n+void CLogDlg::OnDestroy()\r\n+{\r\n+\t__super::OnDestroy();\r\n+\r\n+\tm_Brush.DeleteObject();\r","path":"src/TortoiseProc/LogDlg.cpp","position":84,"original_position":84,"commit_id":"14ed91c6c189b018d0d943221d392ffe4bb4b37e","original_commit_id":"14ed91c6c189b018d0d943221d392ffe4bb4b37e","user":{"login":"csware","id":428133,"avatar_url":"https://avatars.githubusercontent.com/u/428133?v=3","gravatar_id":"","url":"https://api.github.com/users/csware","html_url":"https://github.com/csware","followers_url":"https://api.github.com/users/csware/followers","following_url":"https://api.github.com/users/csware/following{/other_user}","gists_url":"https://api.github.com/users/csware/gists{/gist_id}","starred_url":"https://api.github.com/users/csware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csware/subscriptions","organizations_url":"https://api.github.com/users/csware/orgs","repos_url":"https://api.github.com/users/csware/repos","events_url":"https://api.github.com/users/csware/events{/privacy}","received_events_url":"https://api.github.com/users/csware/received_events","type":"User","site_admin":false},"body":"Why not in the destructor?","created_at":"2015-07-22T18:15:38Z","updated_at":"2015-07-22T18:15:38Z","html_url":"https://github.com/TortoiseGit/TortoiseGit/pull/186#discussion_r35244993","pull_request_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/pulls/186","_links":{"self":{"href":"https://api.github.com/repos/TortoiseGit/TortoiseGit/pulls/comments/35244993"},"html":{"href":"https://github.com/TortoiseGit/TortoiseGit/pull/186#discussion_r35244993"},"pull_request":{"href":"https://api.github.com/repos/TortoiseGit/TortoiseGit/pulls/186"}}},"pull_request":{"url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/pulls/186","id":36939933,"html_url":"https://github.com/TortoiseGit/TortoiseGit/pull/186","diff_url":"https://github.com/TortoiseGit/TortoiseGit/pull/186.diff","patch_url":"https://github.com/TortoiseGit/TortoiseGit/pull/186.patch","issue_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/issues/186","number":186,"state":"open","locked":false,"title":"Fixed issue 1003: Show Log does not remember the from-date","user":{"login":"YueLinHo","id":5831804,"avatar_url":"https://avatars.githubusercontent.com/u/5831804?v=3","gravatar_id":"","url":"https://api.github.com/users/YueLinHo","html_url":"https://github.com/YueLinHo","followers_url":"https://api.github.com/users/YueLinHo/followers","following_url":"https://api.github.com/users/YueLinHo/following{/other_user}","gists_url":"https://api.github.com/users/YueLinHo/gists{/gist_id}","starred_url":"https://api.github.com/users/YueLinHo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YueLinHo/subscriptions","organizations_url":"https://api.github.com/users/YueLinHo/orgs","repos_url":"https://api.github.com/users/YueLinHo/repos","events_url":"https://api.github.com/users/YueLinHo/events{/privacy}","received_events_url":"https://api.github.com/users/YueLinHo/received_events","type":"User","site_admin":false},"body":"TortoiseGit [issue 1003](https://code.google.com/p/tortoisegit/issues/detail?id=1003)\r\n([issue 1164](https://code.google.com/p/tortoisegit/issues/detail?id=1164), [issue 2078](https://code.google.com/p/tortoisegit/issues/detail?id=2078))","created_at":"2015-06-04T14:32:00Z","updated_at":"2015-07-22T18:15:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"43900154cc7abe7813031f59a3a04d2dec2c4a8a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/pulls/186/commits","review_comments_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/pulls/186/comments","review_comment_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/issues/186/comments","statuses_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/statuses/14ed91c6c189b018d0d943221d392ffe4bb4b37e","head":{"label":"YueLinHo:i1003","ref":"i1003","sha":"14ed91c6c189b018d0d943221d392ffe4bb4b37e","user":{"login":"YueLinHo","id":5831804,"avatar_url":"https://avatars.githubusercontent.com/u/5831804?v=3","gravatar_id":"","url":"https://api.github.com/users/YueLinHo","html_url":"https://github.com/YueLinHo","followers_url":"https://api.github.com/users/YueLinHo/followers","following_url":"https://api.github.com/users/YueLinHo/following{/other_user}","gists_url":"https://api.github.com/users/YueLinHo/gists{/gist_id}","starred_url":"https://api.github.com/users/YueLinHo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YueLinHo/subscriptions","organizations_url":"https://api.github.com/users/YueLinHo/orgs","repos_url":"https://api.github.com/users/YueLinHo/repos","events_url":"https://api.github.com/users/YueLinHo/events{/privacy}","received_events_url":"https://api.github.com/users/YueLinHo/received_events","type":"User","site_admin":false},"repo":{"id":21376277,"name":"TortoiseGit","full_name":"YueLinHo/TortoiseGit","owner":{"login":"YueLinHo","id":5831804,"avatar_url":"https://avatars.githubusercontent.com/u/5831804?v=3","gravatar_id":"","url":"https://api.github.com/users/YueLinHo","html_url":"https://github.com/YueLinHo","followers_url":"https://api.github.com/users/YueLinHo/followers","following_url":"https://api.github.com/users/YueLinHo/following{/other_user}","gists_url":"https://api.github.com/users/YueLinHo/gists{/gist_id}","starred_url":"https://api.github.com/users/YueLinHo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YueLinHo/subscriptions","organizations_url":"https://api.github.com/users/YueLinHo/orgs","repos_url":"https://api.github.com/users/YueLinHo/repos","events_url":"https://api.github.com/users/YueLinHo/events{/privacy}","received_events_url":"https://api.github.com/users/YueLinHo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YueLinHo/TortoiseGit","description":"Windows Explorer Extension to Operate Git; Mirror of GoogleCode repository","fork":true,"url":"https://api.github.com/repos/YueLinHo/TortoiseGit","forks_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/forks","keys_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/teams","hooks_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/hooks","issue_events_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/issues/events{/number}","events_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/events","assignees_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/assignees{/user}","branches_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/branches{/branch}","tags_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/tags","blobs_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/git/refs{/sha}","trees_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/statuses/{sha}","languages_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/languages","stargazers_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/stargazers","contributors_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/contributors","subscribers_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/subscribers","subscription_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/subscription","commits_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/commits{/sha}","git_commits_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/git/commits{/sha}","comments_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/comments{/number}","issue_comment_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/issues/comments{/number}","contents_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/contents/{+path}","compare_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/merges","archive_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/downloads","issues_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/issues{/number}","pulls_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/pulls{/number}","milestones_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/milestones{/number}","notifications_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/labels{/name}","releases_url":"https://api.github.com/repos/YueLinHo/TortoiseGit/releases{/id}","created_at":"2014-07-01T05:31:50Z","updated_at":"2015-05-07T00:04:56Z","pushed_at":"2015-07-22T08:47:43Z","git_url":"git://github.com/YueLinHo/TortoiseGit.git","ssh_url":"git@github.com:YueLinHo/TortoiseGit.git","clone_url":"https://github.com/YueLinHo/TortoiseGit.git","svn_url":"https://github.com/YueLinHo/TortoiseGit","homepage":"http://tortoisegit.org","size":97713,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"TortoiseGit:master","ref":"master","sha":"a61e92e510c8ec8677565249a104bf6632e2075e","user":{"login":"TortoiseGit","id":1103929,"avatar_url":"https://avatars.githubusercontent.com/u/1103929?v=3","gravatar_id":"","url":"https://api.github.com/users/TortoiseGit","html_url":"https://github.com/TortoiseGit","followers_url":"https://api.github.com/users/TortoiseGit/followers","following_url":"https://api.github.com/users/TortoiseGit/following{/other_user}","gists_url":"https://api.github.com/users/TortoiseGit/gists{/gist_id}","starred_url":"https://api.github.com/users/TortoiseGit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TortoiseGit/subscriptions","organizations_url":"https://api.github.com/users/TortoiseGit/orgs","repos_url":"https://api.github.com/users/TortoiseGit/repos","events_url":"https://api.github.com/users/TortoiseGit/events{/privacy}","received_events_url":"https://api.github.com/users/TortoiseGit/received_events","type":"Organization","site_admin":false},"repo":{"id":1197206,"name":"TortoiseGit","full_name":"TortoiseGit/TortoiseGit","owner":{"login":"TortoiseGit","id":1103929,"avatar_url":"https://avatars.githubusercontent.com/u/1103929?v=3","gravatar_id":"","url":"https://api.github.com/users/TortoiseGit","html_url":"https://github.com/TortoiseGit","followers_url":"https://api.github.com/users/TortoiseGit/followers","following_url":"https://api.github.com/users/TortoiseGit/following{/other_user}","gists_url":"https://api.github.com/users/TortoiseGit/gists{/gist_id}","starred_url":"https://api.github.com/users/TortoiseGit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TortoiseGit/subscriptions","organizations_url":"https://api.github.com/users/TortoiseGit/orgs","repos_url":"https://api.github.com/users/TortoiseGit/repos","events_url":"https://api.github.com/users/TortoiseGit/events{/privacy}","received_events_url":"https://api.github.com/users/TortoiseGit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TortoiseGit/TortoiseGit","description":"Windows Explorer Extension to Operate Git; Mirror of GoogleCode repository","fork":false,"url":"https://api.github.com/repos/TortoiseGit/TortoiseGit","forks_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/forks","keys_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/teams","hooks_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/hooks","issue_events_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/issues/events{/number}","events_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/events","assignees_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/assignees{/user}","branches_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/branches{/branch}","tags_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/tags","blobs_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/git/refs{/sha}","trees_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/statuses/{sha}","languages_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/languages","stargazers_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/stargazers","contributors_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/contributors","subscribers_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/subscribers","subscription_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/subscription","commits_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/commits{/sha}","git_commits_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/git/commits{/sha}","comments_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/comments{/number}","issue_comment_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/issues/comments{/number}","contents_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/contents/{+path}","compare_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/merges","archive_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/downloads","issues_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/issues{/number}","pulls_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/pulls{/number}","milestones_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/milestones{/number}","notifications_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/labels{/name}","releases_url":"https://api.github.com/repos/TortoiseGit/TortoiseGit/releases{/id}","created_at":"2010-12-25T14:10:21Z","updated_at":"2015-07-22T12:43:15Z","pushed_at":"2015-07-22T16:00:07Z","git_url":"git://github.com/TortoiseGit/TortoiseGit.git","ssh_url":"git@github.com:TortoiseGit/TortoiseGit.git","clone_url":"https://github.com/TortoiseGit/TortoiseGit.git","svn_url":"https://github.com/TortoiseGit/TortoiseGit","homepage":"https://tortoisegit.org","size":118721,"stargazers_count":305,"watchers_count":305,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":112,"mirror_url":null,"open_issues_count":19,"forks":112,"open_issues":19,"watchers":305,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TortoiseGit/TortoiseGit/pulls/186"},"html":{"href":"https://github.com/TortoiseGit/TortoiseGit/pull/186"},"issue":{"href":"https://api.github.com/repos/TortoiseGit/TortoiseGit/issues/186"},"comments":{"href":"https://api.github.com/repos/TortoiseGit/TortoiseGit/issues/186/comments"},"review_comments":{"href":"https://api.github.com/repos/TortoiseGit/TortoiseGit/pulls/186/comments"},"review_comment":{"href":"https://api.github.com/repos/TortoiseGit/TortoiseGit/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TortoiseGit/TortoiseGit/pulls/186/commits"},"statuses":{"href":"https://api.github.com/repos/TortoiseGit/TortoiseGit/statuses/14ed91c6c189b018d0d943221d392ffe4bb4b37e"}}}}