Added TODO

This commit is contained in:
Abdelilah El Aissaoui 2023-11-09 01:34:37 +01:00
parent c02ae6af39
commit 22fd618b01
No known key found for this signature in database
GPG Key ID: 7587FC860F594869

View File

@ -20,6 +20,7 @@ class PushBranchUseCase @Inject constructor(
private val getTrackingBranchUseCase: GetTrackingBranchUseCase,
private val appSettings: AppSettings,
) {
// TODO This use case should also set the tracking branch to the new remote branch
suspend operator fun invoke(git: Git, force: Boolean, pushTags: Boolean) = withContext(Dispatchers.IO) {
val currentBranch = git.repository.fullBranch
val tracking = getTrackingBranchUseCase(git, git.repository.branch)