MCPcopy Index your code
hub / github.com/commitizen/cz-cli / whatChanged

Function whatChanged

src/git/whatChanged.js:9–19  ·  view source on GitHub ↗

* Asynchronously gets the git log raw output (formerly `git whatchanged`, * which modern git refuses to run without `--i-still-use-this`).

(repoPath, done)

Source from the content-addressed store, hash-verified

7 * which modern git refuses to run without `--i-still-use-this`).
8 */
9function whatChanged (repoPath, done) {
10 exec('git log --raw --no-merges', {
11 maxBuffer: Infinity,
12 cwd: repoPath
13 }, function (error, stdout, stderr) {
14 if (error) {
15 throw error;
16 }
17 done(stdout);
18 });
19}

Callers 1

commit.jsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected