Gitnuro/src/main/kotlin/app/extensions/RepositoryStateExtensions.kt
Abdelilah El Aissaoui 3ed5f0cc1e Uncommited changes line now show if merging/rebasing
This commit starts not only the rebase support but also manage merges when conflicts appear [WIP]
2021-12-18 04:18:48 +01:00

6 lines
186 B
Kotlin

package app.extensions
import org.eclipse.jgit.lib.RepositoryState
val RepositoryState.isMerging
get() = this == RepositoryState.MERGING || this == RepositoryState.MERGING_RESOLVED