Skip to content

Go to next change / Go to previous change should start from current cursor position #1722

@Mingun

Description

@Mingun

Currently those actions starts from the first/last change if change is not selected (displayed as -/XX in diff dialog) or last selected change.

Common use case during refactoring: make many semi-related changes while refactor and then make several commits by select changes to commit from diff view. Each time when you stash particular change, the current change position is reset and you have to go thought all unrelated changes for current commit.

Assumed workflow:

  • go from the first hunk to the last in the diff
  • stage some hunk
  • click to some place in the diff
  • click to the Go to next change to move to the not yet processed hunk
    • currently: you go to the very first unstaged hunk

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions