Skip to content

Commit

Permalink
Merge pull request #23 from embroider-build/first-parent-only
Browse files Browse the repository at this point in the history
only process commits on the current branch
  • Loading branch information
mansona authored May 22, 2024
2 parents 71bd227 + a2007eb commit 50732f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 50732f0

Please sign in to comment.