-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RevisionDiff: Stage/Unstage selected lines
Move handling of stage/unstage/reset line patching from FormCommit to FileViewer. Instead of FormCommit adding menu items to FileViewer, handle the actions directly in FileViewer, including the hotkey handling. Also hotkey for cherry-pick and reset line patches. This also aligns the stage/reset menu items to other forms. Apply the line patching also to RevDiff, supporting line patches for worktree/index properly, including hotkey handling. When manipulating a diff with an artificial commit, refresh the diff after patching. Some code cleanup, like using ViewChangesAsync consistently for diffs/patches FormCommit; Use common method for head revisions Set parents for artificial revisions
- Loading branch information
Showing
12 changed files
with
564 additions
and
462 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.