Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions src/GitProjectHealth-Model-Importer/GitModelImporter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,15 @@ GitModelImporter >> blockForBranchEquality [

{ #category : #equality }
GitModelImporter >> blockForDiffEquality [
^ [ :existing :new |
existing diffString size = new diffString size and: [
existing diffString = new diffString ] ]

^ [ :existing :new |
| sameSize sameDiff sameFile |
sameSize := existing diffString size = new diffString size.
sameDiff := existing diffString = new diffString.
sameFile := existing new_path = new new_path.

sameSize and: [ sameDiff and: [ sameFile ] ].
]
]

{ #category : #equality }
Expand Down