From 859ae801f6037c744e668ea9cd945521408d3fcf Mon Sep 17 00:00:00 2001 From: Michael Cho Date: Sun, 2 Oct 2022 01:20:37 -0700 Subject: [PATCH] git-delete-merged-branches: fix test on Monterey Closes #112138. Signed-off-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com> Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> --- Formula/git-delete-merged-branches.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Formula/git-delete-merged-branches.rb b/Formula/git-delete-merged-branches.rb index c2127757395a..aa43533cbf6e 100644 --- a/Formula/git-delete-merged-branches.rb +++ b/Formula/git-delete-merged-branches.rb @@ -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