{"action":"created","issue":{"url":"https://api.github.com/repos/gitextensions/gitextensions/issues/3250","repository_url":"https://api.github.com/repos/gitextensions/gitextensions","labels_url":"https://api.github.com/repos/gitextensions/gitextensions/issues/3250/labels{/name}","comments_url":"https://api.github.com/repos/gitextensions/gitextensions/issues/3250/comments","events_url":"https://api.github.com/repos/gitextensions/gitextensions/issues/3250/events","html_url":"https://github.com/gitextensions/gitextensions/pull/3250","id":165166981,"number":3250,"title":"--first-parent filtration added, --full-history fixed, hotkeys exposed, context menu in file history window unification","user":{"login":"FallenGameR","id":711295,"avatar_url":"https://avatars.githubusercontent.com/u/711295?v=3","gravatar_id":"","url":"https://api.github.com/users/FallenGameR","html_url":"https://github.com/FallenGameR","followers_url":"https://api.github.com/users/FallenGameR/followers","following_url":"https://api.github.com/users/FallenGameR/following{/other_user}","gists_url":"https://api.github.com/users/FallenGameR/gists{/gist_id}","starred_url":"https://api.github.com/users/FallenGameR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FallenGameR/subscriptions","organizations_url":"https://api.github.com/users/FallenGameR/orgs","repos_url":"https://api.github.com/users/FallenGameR/repos","events_url":"https://api.github.com/users/FallenGameR/events{/privacy}","received_events_url":"https://api.github.com/users/FallenGameR/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gitextensions/gitextensions/labels/waffle:needs%20review","name":"waffle:needs review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-07-12T20:01:49Z","updated_at":"2016-07-21T20:43:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/gitextensions/gitextensions/pulls/3250","html_url":"https://github.com/gitextensions/gitextensions/pull/3250","diff_url":"https://github.com/gitextensions/gitextensions/pull/3250.diff","patch_url":"https://github.com/gitextensions/gitextensions/pull/3250.patch"},"body":"This change addresses issues we encountered while using GitExtensions on a huge repository backed up by Microsoft VSTS that can complete pull requests with merges. Merge is done correctly on the server (first parent is always the previous commit is master), but looking at commit history locally in GitExtensions it was hard to read what have happened. Since repository size is huge, lots of merges make history unreadable. This change allows to see the relevant high-level changes and hide unessential ones.\r\n\r\n- #3216 - Doesn't seem to be a way to get only --first-parent history\r\n- #3215 - Follow renames in file history is broken \r\n- Along the way several related areas are fixed - several hotkeys that were registered now are shown in menu. \r\n- Also context menu in file history window now has View and Navigation sections as browse form do since they use the same control for showing commits. \r\n\r\n# --first-parent filtration added\r\n\r\n#3216\r\n- Command with icon was added to FormBrowse, FormFileHistory, main menu and context menus\r\n- Button is checked when filtration is applied and unchecked when not\r\n- When ShowFirstParent and ShowCurrentBranchOnly are working DvcsGraph don't draw extra-long merge lines\r\n- On gotocommit command additional branch filtration is applied to make hidden commits traversable \r\n- SelectInitialRevision makes sure it don't jump to unavailable commit when --first-parent filtration is applied\r\n\r\nHere is how it looks:\r\n\r\nShow current branch only, no --first-parent (old)\r\n![Show current branch only, no --first-parent](https://s32.postimg.org/uusuf1otx/01_Show_current_branch_only_no_first_parent.png)\r\n\r\nShow current branch only, --first-parent enabled (new)\r\n![Show current branch only, --first-parent enabled](https://s32.postimg.org/el2oc5e5x/02_Show_current_branch_only_first_parent_enab.png)\r\n\r\n# --full-history filtration fixed\r\n#3215\r\nIt incorrectly used switch --simplify-by-decoration that actually truncated history, making opposite from user expects when --full-history is used. Fixed.\r\n\r\n# Navigation and View submenus added\r\nNavigation and View submenus added to FileHisotyForm context menu since all commands are applicable to ReviewGrid there and hotkeys for these commands actually worked there anyway already. Here is how it looks now:\r\n![Navigation and View submenus added](https://s32.postimg.org/cujnanwmt/03_Navigation_and_View_submenus_added.png)\r\n\r\n# Hotkeys changes\r\nThe following commands now what hotkeys are assigned to them in menus:\r\n- ShowAllBranches\r\n- ShowCurrentBranchOnly\r\n- ShowFilteredBranches\r\n- ShowRemoteBranches\r\n- ToggleShowMergeCommits\r\n- ToggleRevisionCardLayout\r\n- ShowFirstParent\r\n- RevisionFilter\r\n\r\nNote that ToggleRevisionCardLayout that was around in codebase since 2011 was not exposed before. It is very useful when merge commit filtration is applied and card layout get unexpectedly changed.\r\n\r\nAdded new hotkeys with keystrokes that follows pattern of similar hotkeys and don't add collisions with existing hotkeys:\r\n- ToggleShowMergeCommits = Control + Shift + M\r\n- ShowFilteredBranches = Control + Shift + T\r\n- ShowRemoteBranches = Control + Shift + R\r\n- ShowFirstParent = Control + Shift + S\r\n\r\nHere is how it looks:\r\n![Hotkeys changes](https://s32.postimg.org/9c7ne9vqt/04_Hotkeys_changes.png)\r\n\r\n# Other changes\r\nName refactoring for members with unclear or outdated names.\r\n\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/gitextensions/gitextensions/issues/comments/234378179","html_url":"https://github.com/gitextensions/gitextensions/pull/3250#issuecomment-234378179","issue_url":"https://api.github.com/repos/gitextensions/gitextensions/issues/3250","id":234378179,"user":{"login":"FallenGameR","id":711295,"avatar_url":"https://avatars.githubusercontent.com/u/711295?v=3","gravatar_id":"","url":"https://api.github.com/users/FallenGameR","html_url":"https://github.com/FallenGameR","followers_url":"https://api.github.com/users/FallenGameR/followers","following_url":"https://api.github.com/users/FallenGameR/following{/other_user}","gists_url":"https://api.github.com/users/FallenGameR/gists{/gist_id}","starred_url":"https://api.github.com/users/FallenGameR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FallenGameR/subscriptions","organizations_url":"https://api.github.com/users/FallenGameR/orgs","repos_url":"https://api.github.com/users/FallenGameR/repos","events_url":"https://api.github.com/users/FallenGameR/events{/privacy}","received_events_url":"https://api.github.com/users/FallenGameR/received_events","type":"User","site_admin":false},"created_at":"2016-07-21T20:43:49Z","updated_at":"2016-07-21T20:43:49Z","body":"@jbialobr, I can add to settings, but IMO it should be off by default. The reason is - in the latest published release there is no such switch. And the person who added it can't say why it is needed either (see discussion of #3215.)."}}
{"actor":{"display_login":"FallenGameR"}}