You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns an object stream that you can pipe the output of `git log` to. The output of the stream is a series of objects, each representing a commit from the log.
12
+
Returns an object stream that you can pipe a stream of newlines from the output of `git log` to. The output of the stream is a series of objects, each representing a commit from the log.`
13
13
14
14
Intended to be used on a standard log format (not a simplified one using one of the simplifying `--format` options) but it will also process change stats if you `git log --stat`.
15
15
16
+
Typical usage:
17
+
18
+
```js
19
+
var spawn =require('child_process').spawn
20
+
, split2 =require('split2')
21
+
, listStream =require('list-stream')
22
+
23
+
spawn('bash', [ '-c', 'git log' ])
24
+
.stdout.pipe(split2()) // break up by newline characters
0 commit comments