MCPcopy Create free account
hub / github.com/ReviewStage/stage-cli / getCommitMessages

Function getCommitMessages

packages/cli/src/git.ts:199–204  ·  view source on GitHub ↗
(mergeBase: string, head: string)

Source from the content-addressed store, hash-verified

197}
198
199export 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
206export function hasUncommittedChanges(): boolean {
207 const out = execFileSync("git", ["status", "--porcelain"], {

Callers 1

runPrepFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected