Skip to content

Fix: sort staged+amend changes the same way as ordinary staged changes - #2441

Merged
love-linger merged 1 commit into
sourcegit-scm:developfrom
goran-w:sorting-of-staged-changes-with-amend
Jun 15, 2026
Merged

Fix: sort staged+amend changes the same way as ordinary staged changes#2441
love-linger merged 1 commit into
sourcegit-scm:developfrom
goran-w:sorting-of-staged-changes-with-amend

Conversation

@goran-w

Copy link
Copy Markdown
Contributor

This is a simple fix, to make sure Staged changes with Amend are sorted the same way as ordinary Staged (and Unstaged) changes (i.e. using the case-insensitive Models.NumericSort.Compare() function).

For reference, the latter (existing) sorting is performed in ViewModels.Repository.RefreshWorkingCopyChanges().

@love-lingerlove-linger self-assigned this Jun 15, 2026
@goran-wgoran-w changed the title [Bug] sort staged+amend changes the same way as ordinary staged changesFix: sort staged+amend changes the same way as ordinary staged changesJun 15, 2026
@love-lingerlove-linger added the bug Something isn't working label Jun 15, 2026
@love-linger
love-linger merged commit baf2ed6 into sourcegit-scm:developJun 15, 2026
14 checks passed
@goran-w
goran-w deleted the sorting-of-staged-changes-with-amend branch June 15, 2026 07:59
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugSomething isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@goran-w@love-linger