From 6c2737c7ee9d416f5d1c2473ea76f547ae3d1a40 Mon Sep 17 00:00:00 2001 From: Michel Filipe Date: Wed, 24 Jul 2024 15:47:08 -0300 Subject: [PATCH] Make noise --- lib/shipit/stack_commands.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/shipit/stack_commands.rb b/lib/shipit/stack_commands.rb index 932aced3b..adde7adf2 100644 --- a/lib/shipit/stack_commands.rb +++ b/lib/shipit/stack_commands.rb @@ -16,7 +16,7 @@ def env def fetch_commit(commit) create_directories if valid_git_repository?(@stack.git_path) - git('fetch', 'origin', '--quiet', '--tags', commit.sha, env: env, chdir: @stack.git_path) + git('fetch', 'origin', '--tags', commit.sha, env: env, chdir: @stack.git_path) else @stack.clear_git_cache! git_clone(@stack.repo_git_url, @stack.git_path, branch: @stack.branch, env: env, chdir: @stack.deploys_path) @@ -26,7 +26,7 @@ def fetch_commit(commit) def fetch create_directories if valid_git_repository?(@stack.git_path) - git('fetch', 'origin', '--quiet', '--tags', @stack.branch, env: env, chdir: @stack.git_path) + git('fetch', 'origin', '--tags', @stack.branch, env: env, chdir: @stack.git_path) else @stack.clear_git_cache! git_clone(@stack.repo_git_url, @stack.git_path, branch: @stack.branch, env: env, chdir: @stack.deploys_path) @@ -35,7 +35,7 @@ def fetch def fetched?(commit) if valid_git_repository?(@stack.git_path) - git('rev-parse', '--quiet', '--verify', "#{commit.sha}^{commit}", env: env, chdir: @stack.git_path) + git('rev-parse', '--verify', "#{commit.sha}^{commit}", env: env, chdir: @stack.git_path) else # When the stack's git cache is not valid, the commit is # NOT fetched. To keep the interface of this method @@ -86,7 +86,6 @@ def with_temporary_working_directory(commit: nil) '-c', 'advice.detachedHead=false', 'checkout', - '--quiet', commit.sha, chdir: git_dir ).run! if commit @@ -107,7 +106,7 @@ def git_cmd_succeeds?(path) end def git_clone(url, path, branch: 'master', **kwargs) - git('clone', '--quiet', *modern_git_args, '--recursive', '--branch', branch, url, path, **kwargs) + git('clone', *modern_git_args, '--recursive', '--branch', branch, url, path, **kwargs) end def modern_git_args