mirror of
https://github.com/gitui-org/gitui
synced 2026-05-23 08:58:21 +00:00
parent
082e308efb
commit
16c97edb4d
2 changed files with 4 additions and 2 deletions
|
|
@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## Unreleased
|
||||
|
||||
### Fixes
|
||||
* fix commit log not updating after branch switch ([#1862](https://github.com/extrawurst/gitui/issues/1862))
|
||||
|
||||
## [0.24.1] - 2023-08-30
|
||||
|
||||
### Fixes
|
||||
|
|
|
|||
|
|
@ -95,6 +95,7 @@ impl CommitList {
|
|||
///
|
||||
pub fn clear(&mut self) {
|
||||
self.items.clear();
|
||||
self.commits.clear();
|
||||
}
|
||||
|
||||
///
|
||||
|
|
@ -740,8 +741,6 @@ impl CommitList {
|
|||
let slice_end =
|
||||
want_min.saturating_add(SLICE_SIZE).min(commits);
|
||||
|
||||
log::info!("fetch_commits: {want_min}-{slice_end}",);
|
||||
|
||||
let commits = sync::get_commits_info(
|
||||
&self.repo.borrow(),
|
||||
&self.commits[want_min..slice_end],
|
||||
|
|
|
|||
Loading…
Reference in a new issue