diff --git a/src/git.ts b/src/git.ts index d7b04e1..edc0a39 100644 --- a/src/git.ts +++ b/src/git.ts @@ -55,6 +55,7 @@ export function listCommits(from: string, to: string = ""): CommitListItem[] { "--oneline", "--pretty=hash<%h> ref<%D> message<%s> date<%cd>", "--date=short", + "--first-parent", `${from}..${to}`, ]) .stdout.split("\n")