(mergeBase: string, head: string)
| 197 | } |
| 198 | |
| 199 | export function getCommitMessages(mergeBase: string, head: string): string { |
| 200 | return execFileSync("git", ["log", "--oneline", `${mergeBase}..${head}`], { |
| 201 | encoding: "utf8", |
| 202 | stdio: ["ignore", "pipe", "ignore"], |
| 203 | }).trim(); |
| 204 | } |
| 205 | |
| 206 | export function hasUncommittedChanges(): boolean { |
| 207 | const out = execFileSync("git", ["status", "--porcelain"], { |