Skip to content

Commit 50c6562

Browse files
tommadyextrawurst
andauthored
fix: File selector should jump back and highlight unstaged files (#2499)
Co-authored-by: extrawurst <mail@rusticorn.com>
1 parent 232ad89 commit 50c6562

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
### Changed
11+
* After commit: jump back to unstaged area [[@tommady](https://github.com/tommady)] ([#2476](https://github.com/extrawurst/gitui/issues/2476))
12+
1013
## [0.27.0] - 2024-01-14
1114

1215
**new: manage remotes**

src/popups/commit.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,7 @@ impl CommitPopup {
218218

219219
self.hide();
220220
self.queue.push(InternalEvent::Update(NeedsUpdate::ALL));
221+
self.queue.push(InternalEvent::StatusLastFileMoved);
221222
self.input.clear();
222223
}
223224

0 commit comments

Comments
 (0)