Skip to content

armgit / orca

Public Imported from GitHub
0

Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

573 B
Raw Blame
import { translate } from '../i18n/mobile-i18n'
import type { MobileSourceControlReviewInputs } from './mobile-source-control-primary-action'

// Mobile pushes without a review's saved push target, so a force push there could overwrite the wrong branch.
export function getMobileForcePushBlockedReason(
  review: MobileSourceControlReviewInputs | undefined
): string | undefined {
  return review?.pushTarget
    ? translate(
        'sourceControl.primaryAction.forcePushFromDesktop',
        "Force push this pull request's branch from desktop"
      )
    : undefined
}