Skip to content

Commit

Permalink
Merge pull request #1895 from Rinzwind/refresh-index
Browse files Browse the repository at this point in the history
Make #addFilesToIndex: on IceLibgitRepository refresh the index before adding the files
  • Loading branch information
jecisc authored Feb 17, 2025
2 parents 2535e69 + 9a7ac7a commit f0453aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Iceberg-Libgit/IceLibgitRepository.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ IceLibgitRepository >> addFilesToIndex: aCollection [
| gitIndex |
gitIndex := self repositoryHandle index.
gitIndex
refresh;
addAll:
(aCollection
collect: [ :each |
Expand Down

0 comments on commit f0453aa

Please sign in to comment.