mirror of
https://github.com/extrawurst/gitui.git
synced 2024-11-23 03:32:30 +03:00
parent
082e308efb
commit
16c97edb4d
@ -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 New Issue
Block a user