Skip to content

Commit

Permalink
Merge pull request #484 from adopted-ember-addons/patch-instead
Browse files Browse the repository at this point in the history
swap override for patched package
  • Loading branch information
mansona authored May 16, 2024
2 parents 6fdcd99 + b943738 commit 7eb5c87
Show file tree
Hide file tree
Showing 3 changed files with 303 additions and 646 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
"node": ">= 18"
},
"pnpm": {
"overrides": {
"github-changelog": "github:embroider-build/github-changelog#first-parent-only"
"patchedDependencies": {
"github-changelog@1.0.1": "patches/github-changelog@1.0.1.patch"
}
}
}
12 changes: 12 additions & 0 deletions patches/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/lib/git.js b/lib/git.js
index b712bb439bed6c4c63360af7f5f2e7c51cfa613d..31de3ccb358a802b2a02c506473dc8cfdd7f36ad 100644
--- a/lib/git.js
+++ b/lib/git.js
@@ -51,6 +51,7 @@ function listCommits(from, to = "") {
"--oneline",
"--pretty=hash<%h> ref<%D> message<%s> date<%cd>",
"--date=short",
+ "--first-parent",
`${from}..${to}`,
])
.stdout.split("\n")
Loading

0 comments on commit 7eb5c87

Please sign in to comment.