1 2 3 4 5 6 7 8 9 10 11 12 13 | 1× 3× 3× | import git from 'gulp-git'; export { log }; /** * Asynchronously gets the git log output */ function log(repoPath, done) { // Get a gulp stream based off the config git.exec({cwd: repoPath, args: 'log', quiet: true}, function(err, stdout) { done(stdout); }); } |