MCPcopy Create free account
hub / github.com/GCWing/BitFun / git_cherry_pick_continue

Function git_cherry_pick_continue

src/apps/desktop/src/api/git_api.rs:1221–1248  ·  view source on GitHub ↗
(
    state: State<'_, AppState>,
    request: GitRepositoryRequest,
)

Source from the content-addressed store, hash-verified

1219
1220#[tauri::command]
1221pub async fn git_cherry_pick_continue(
1222 state: State<'_, AppState>,
1223 request: GitRepositoryRequest,
1224) -> Result<GitOperationResult, String> {
1225 info!(
1226 "Continuing cherry-pick in repo '{}'",
1227 request.repository_path
1228 );
1229
1230 if let Some(target) = resolve_remote_git_target(&request.repository_path).await {
1231 return execute_remote_git_operation(
1232 &state,
1233 &target,
1234 &["cherry-pick".to_string(), "--continue".to_string()],
1235 )
1236 .await;
1237 }
1238
1239 GitService::cherry_pick_continue(&request.repository_path)
1240 .await
1241 .map_err(|e| {
1242 error!(
1243 "Failed to continue cherry-pick: path={}, error={}",
1244 request.repository_path, e
1245 );
1246 format!("Failed to continue cherry-pick: {}", e)
1247 })
1248}
1249
1250#[tauri::command]
1251pub async fn git_list_worktrees(

Callers

nothing calls this directly

Calls 2

Tested by

no test coverage detected