You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Amending commit can be treated as last commit modification so all the widgets (unstaged, staged, but also diff) should show both last commit modification and current, uncommitted ones. This is helpful especially when one wants to revert some changes from last commit. This is also my experience from git-cola client.
To Reproduce
Steps to reproduce the behavior:
Modify file that was also modified in last commit (eg. X.txt)
Modify file that wasn't modified in last commit (eg. Y.txt)
Go to "Uncommited changes" view
Check "Amend previous commit"
Expected behavior
Staged view should list X.txt (and possibly other files modified with last commit)
Unstaged view should list X.txt with uncommitted changes and Y.txt
Screenshots
not needed
Desktop (please complete the following information):
OS: any
Version: 1.4.3
The text was updated successfully, but these errors were encountered:
I see what you mean, not a bug tho. Gitnuro right now follows the same behavior as Git CLI. However, it's an interesting improvement for a future release.
JetpackDuba
changed the title
Amend doesn't show last commit changes in staged widget and diff
Show last commit changes in staged changes when amending
Jan 13, 2025
Describe the bug
Amending commit can be treated as last commit modification so all the widgets (unstaged, staged, but also diff) should show both last commit modification and current, uncommitted ones. This is helpful especially when one wants to revert some changes from last commit. This is also my experience from git-cola client.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Staged view should list X.txt (and possibly other files modified with last commit)
Unstaged view should list X.txt with uncommitted changes and Y.txt
Screenshots
not needed
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: