MCPcopy Index your code
hub / github.com/remix-run/react-router / getCommitSubject

Function getCommitSubject

scripts/utils/git.ts:158–160  ·  view source on GitHub ↗
(sha: string)

Source from the content-addressed store, hash-verified

156 * Gets the subject line (first line) of a commit message for a given SHA.
157 */
158export function getCommitSubject(sha: string): string {
159 return execGit(["log", "-1", "--format=%s", sha]);
160}
161
162/**
163 * Parses a GitHub PR number from a commit subject line.

Callers 1

parsePackageChangesFunction · 0.90

Calls 1

execGitFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…