OptionalcwdWorking directory of the repository. Defaults to process.cwd().
OptionalfromStart ref (exclusive). If omitted, uses the previous tag, else the root.
OptionalincludeCapture and shape the actual patch. Default true.
OptionalmaxCap on commits collected (newest first). Default 200.
OptionalmaxPer-file diff line cap (forwarded to shapeDiff). Default 200.
OptionalmaxTotal diff line cap (forwarded to shapeDiff). Default 1500.
OptionaltoEnd ref (inclusive). Defaults to HEAD.
Options for collectChanges.