Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Do not collect LGitStringArray before return
  • Loading branch information
guillep committed Jun 9, 2020
1 parent 62e8731 commit 8d2fa26
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Iceberg/IceLog.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Class {
#instVars : [
'repository'
],
#category : 'Iceberg-Core'
#category : #'Iceberg-Core'
}

{ #category : #'instance creation' }
Expand All @@ -39,12 +39,13 @@ IceLog >> basepathOf: aPath [

{ #category : #private }
IceLog >> collectCommitsFor: aMethod path: aPath [
| commit pathSpec options commits |
| commit pathSpec options commits pathSpecArray |

commit := self repository headCommit.
pathSpec := LGitPathSpec withAll: { aPath }.
options := LGitDiffOptions defaults.
options pathspec: (LGitStringArray withAll: { aPath }).
pathSpecArray := LGitStringArray withAll: { aPath }.
options pathspec: pathSpecArray.

commits := OrderedCollection new.
self repository newCommitWalk
Expand Down

0 comments on commit 8d2fa26

Please sign in to comment.