mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[vcs-log] reformat
GitOrigin-RevId: 61ce9147fa4a0a4bc988c7520cdad677aa1a81f5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
fb949f20f7
commit
32e1c6d46f
@@ -76,7 +76,7 @@ class VcsLogFiltererImpl(private val logProviders: Map<VirtualFile, VcsLogProvid
|
||||
val explicitMatchingHeads = getMatchingHeads(dataPack.refsModel, visibleRoots, branchFilter, revisionFilter)
|
||||
val commitsReachableFromHeads = if (explicitMatchingHeads != null)
|
||||
collectCommitsReachableFromHeads(dataPack, explicitMatchingHeads)
|
||||
else TIntHashSet()
|
||||
else TIntHashSet()
|
||||
|
||||
when (val commitsForRangeFilter = filterByRange(dataPack, rangeFilters)) {
|
||||
is RangeFilterResult.Commits -> {
|
||||
@@ -185,7 +185,7 @@ class VcsLogFiltererImpl(private val logProviders: Map<VirtualFile, VcsLogProvid
|
||||
private sealed class RangeFilterResult {
|
||||
class Commits(val commits: TIntHashSet) : RangeFilterResult()
|
||||
object InvalidRange : RangeFilterResult()
|
||||
object Error: RangeFilterResult()
|
||||
object Error : RangeFilterResult()
|
||||
}
|
||||
|
||||
private fun filterByRange(dataPack: DataPack, rangeFilter: VcsLogRangeFilter): RangeFilterResult {
|
||||
|
||||
Reference in New Issue
Block a user