The commit the sandbox branched from — used to diff what the task changed.
()
| 117 | |
| 118 | /** The commit the sandbox branched from — used to diff what the task changed. */ |
| 119 | baseCommitRef(): string | null { |
| 120 | return this.state?.baseCommit ?? null; |
| 121 | } |
| 122 | |
| 123 | /** Current branch name, or null if detached/unknown. */ |
| 124 | private async currentBranch(signal?: AbortSignal): Promise<string | null> { |