MCPcopy
hub / github.com/commitizen/cz-cli / log

Function log

src/git/log.js:8–18  ·  view source on GitHub ↗

* Asynchronously gets the git log output

(repoPath, done)

Source from the content-addressed store, hash-verified

6 * Asynchronously gets the git log output
7 */
8function log (repoPath, done) {
9 exec('git log', {
10 maxBuffer: Infinity,
11 cwd: repoPath
12 }, function (error, stdout, stderr) {
13 if (error) {
14 throw error;
15 }
16 done(stdout);
17 });
18}

Callers 1

commit.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected