* Asynchronously gets the git log output
(repoPath, done)
| 6 | * Asynchronously gets the git log output |
| 7 | */ |
| 8 | function 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 | } |