Skip to content

Commit

Permalink
git-delete-merged-branches: fix test on Monterey
Browse files Browse the repository at this point in the history
Closes #112138.

Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
  • Loading branch information
cho-m authored and BrewTestBot committed Oct 2, 2022
1 parent cb8cb1d commit 859ae80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Formula/git-delete-merged-branches.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ def install
clone = testpath/"clone"

cd origin do
system "git", "config", "--global", "init.defaultBranch", "master"
system "git", "init"
system "git", "config", "user.name", "BrewTestBot"
system "git", "config", "user.email", "BrewTestBot@example.com"
system "git", "commit", "--allow-empty", "-m", "Initial commit"
end

Expand Down

0 comments on commit 859ae80

Please sign in to comment.