mirror of
https://github.com/stablyai/orca.git
synced 2026-10-17 00:03:08 +00:00
docs(worktrees): explain create fetch maintenance scope
This commit is contained in:
@@ -478,6 +478,7 @@ async function refreshRemoteTrackingBaseForWorktreeCreate(
|
||||
getSshWorktreeCreateBaseFetchKey(repo, base),
|
||||
getSshWorktreeCreateRemoteQueueKey(repo, base.remote),
|
||||
() =>
|
||||
// Why: the exact-base refresh gates create; unrelated repo housekeeping must not extend it.
|
||||
provider.fetchRemoteTrackingRef(repo.path, base.remote, base.branch, base.ref, {
|
||||
skipAutoMaintenance: true
|
||||
})
|
||||
|
||||
@@ -14621,6 +14621,7 @@ export class OrcaRuntimeService {
|
||||
if (this.getFreshFetchCompletedAt(key) !== null) {
|
||||
return { ok: true }
|
||||
}
|
||||
// Why: this exact refresh gates worktree create; ordinary fetches still own maintenance.
|
||||
return gitExecFileAsync(
|
||||
[
|
||||
...GIT_FETCH_SKIP_AUTO_MAINTENANCE_CONFIG_ARGS,
|
||||
|
||||
Reference in New Issue
Block a user