From 0400cd0a9cf958d368cad2a695a58b0cd2f45b43 Mon Sep 17 00:00:00 2001 From: Kartiki Sharma Date: Thu, 5 Oct 2023 17:37:07 -0400 Subject: [PATCH] maybe these changes are not supposed to be made --- app/views/shipit/merge_status/failure.html.erb | 2 +- lib/shipit/stack_commands.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/shipit/merge_status/failure.html.erb b/app/views/shipit/merge_status/failure.html.erb index dcd0a258e..2fe738881 100644 --- a/app/views/shipit/merge_status/failure.html.erb +++ b/app/views/shipit/merge_status/failure.html.erb @@ -15,7 +15,7 @@ <%= link_to @stack.to_param, stack_url(@stack), target: '_blank', rel: 'noopener' %> - master branch is failing! + main branch is failing! <%= render 'commit_count_warning' if display_commit_count_warning?(params[:commits].to_i) %> diff --git a/lib/shipit/stack_commands.rb b/lib/shipit/stack_commands.rb index 932aced3b..ecc3daf21 100644 --- a/lib/shipit/stack_commands.rb +++ b/lib/shipit/stack_commands.rb @@ -106,7 +106,7 @@ def git_cmd_succeeds?(path) .success? end - def git_clone(url, path, branch: 'master', **kwargs) + def git_clone(url, path, branch: 'main', **kwargs) git('clone', '--quiet', *modern_git_args, '--recursive', '--branch', branch, url, path, **kwargs) end