Changex.Log (changex v0.3.0)

This module will get a list of commits based on the git log on a git repository.

Link to this section Summary

Link to this section Functions

Link to this function

log(dir \\ nil, first \\ nil, last \\ "HEAD")

Output a log in the format:

[
  ["f329668f8661795f6e2b3c9fd7b7ae6de7dc3789", "fix(baz): set baz"],
  ["6a02160216344cf84f8ec7b13bb10a29f2caa340", "chore(bar): set bar"],
]

An optional dir argument can be passed in, if present then this location will be used for the git repository instead of the current directory.