File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff 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+ ### Fixes
11+ * fix commit log not updating after branch switch ([ #1862 ] ( https://github.com/extrawurst/gitui/issues/1862 ) )
12+
1013## [ 0.24.1] - 2023-08-30
1114
1215### Fixes
Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ impl CommitList {
9595 ///
9696 pub fn clear ( & mut self ) {
9797 self . items . clear ( ) ;
98+ self . commits . clear ( ) ;
9899 }
99100
100101 ///
@@ -740,8 +741,6 @@ impl CommitList {
740741 let slice_end =
741742 want_min. saturating_add ( SLICE_SIZE ) . min ( commits) ;
742743
743- log:: info!( "fetch_commits: {want_min}-{slice_end}" , ) ;
744-
745744 let commits = sync:: get_commits_info (
746745 & self . repo . borrow ( ) ,
747746 & self . commits [ want_min..slice_end] ,
You can’t perform that action at this time.
0 commit comments