Skip to content

Commit

Permalink
Use --merge-base to tell which files where touched by a PR
Browse files Browse the repository at this point in the history
  • Loading branch information
elegaanz committed Jul 23, 2024
1 parent efd08b7 commit c72c26b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/github/git.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,9 @@ impl<'a> GitRepo<'a> {
"--no-commit-id",
"--name-only",
"-r",
sha.as_ref(),
"--merge-base",
"main",
sha.as_ref(),
])
.output()
.await?
Expand Down

0 comments on commit c72c26b

Please sign in to comment.