diff --git a/CHANGELOG.md b/CHANGELOG.md index 05823362..b764154d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Unreleased +### Changed +* After commit: jump back to unstaged area [[@tommady](https://github.com/tommady)] ([#2476](https://github.com/extrawurst/gitui/issues/2476)) + ## [0.27.0] - 2024-01-14 **new: manage remotes** diff --git a/src/popups/commit.rs b/src/popups/commit.rs index 0b9a1958..4dcfc324 100644 --- a/src/popups/commit.rs +++ b/src/popups/commit.rs @@ -218,6 +218,7 @@ impl CommitPopup { self.hide(); self.queue.push(InternalEvent::Update(NeedsUpdate::ALL)); + self.queue.push(InternalEvent::StatusLastFileMoved); self.input.clear(); }