Skip to content

Commit

Permalink
Merge 6bb47c1
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvc committed Jun 24, 2024
2 parents ea5048c + 6bb47c1 commit 727e75b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/GToolkit4Git/IceGitCliRepository.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ IceGitCliRepository >> allCommits [
commitLines := lines splitOn: [ :each | each = '@@@' ].
commitLines removeLast.
commits := commitLines collect: [ :each | self iceGitCommitFromLines: each ].
commits do: [:each | commitMap at: each id put: each].
^ commits asSortedCollection: [:a :b | a datetime > b datetime]
]

Expand Down Expand Up @@ -160,6 +161,12 @@ IceGitCliRepository >> clearCaches [
head := nil.
]

{ #category : #accessing }
IceGitCliRepository >> clearCommitMap [
"Mainly for profiling. Should not normally need to be cleared"
commitMap := Dictionary new.
]

{ #category : #actions }
IceGitCliRepository >> clone: aString [
self runGitWithArgs: {
Expand Down

0 comments on commit 727e75b

Please sign in to comment.