override fun equals()

in src/main/kotlin/com/jetbrains/interactiveRebase/dataClasses/BranchInfo.kt [163:176]


    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (javaClass != other?.javaClass) return false

        other as BranchInfo

        if (name != other.name) return false
        if (initialCommits != other.initialCommits) return false
        if (selectedCommits != other.selectedCommits) return false
        if (isPrimary != other.isPrimary) return false
        if (currentCommits != other.currentCommits) return false

        return true
    }