MCPcopy Create free account
hub / github.com/conventional-changelog/commitlint / log

Function log

@commitlint/travis-cli/src/cli.ts:96–101  ·  view source on GitHub ↗
(hash: string)

Source from the content-addressed store, hash-verified

94}
95
96async function log(hash: string) {
97 const result = await git(["log", "-n", "1", "--pretty=format:%B", hash], {
98 stdio: "pipe",
99 });
100 return result.stdout;
101}
102
103async function stash() {
104 if (await isClean()) {

Callers 1

mainFunction · 0.70

Calls 1

gitFunction · 0.85

Tested by

no test coverage detected