Skip to content

Commit

Permalink
Merge pull request #245 from NixOS/fix-nixpkgs-diff
Browse files Browse the repository at this point in the history
Fix Nixpkgs diff
  • Loading branch information
dasJ committed Aug 29, 2024
2 parents 738abf3 + ceceb4f commit 5dc9b10
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/sync-pr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ isLinear() {

step "Fetching nixfmt pull request and creating a branch for the head commit"
git init nixfmt -b unused
git -C nixfmt config user.name "GitHub Actions"
git -C nixfmt config user.email "[email protected]"
git -C nixfmt fetch "$nixfmtUrl" "refs/pull/$nixfmtPrNumber/merge"
nixfmtBaseCommit=$(git -C nixfmt rev-parse FETCH_HEAD^1)
nixfmtHeadCommit=$(git -C nixfmt rev-parse FETCH_HEAD^2)
Expand Down

0 comments on commit 5dc9b10

Please sign in to comment.