(taskBranch: string, baseBranch: string, ahead: number, behind: number)
| 117 | constructor(taskBranch: string, baseBranch: string, ahead: number, behind: number) { |
| 118 | super( |
| 119 | `Branch '${taskBranch}' has diverged from '${baseBranch}' (ahead: ${ahead}, behind: ${behind}). Rebase or update before merging.`, |
| 120 | 'BRANCHES_DIVERGED' |
| 121 | ); |
| 122 | this.name = 'BranchesDivergedError'; |
| 123 | this.ahead = ahead; |
| 124 | this.behind = behind; |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | // ─── Git CLI Wrapper ────────────────────────────────────────────────────────── |
| 129 | |
| 130 | export interface ExecGitOptions { |
nothing calls this directly
no outgoing calls
no test coverage detected