From 2cdb200c669f46f42ccdb6e9e58b5ecb4ff04c0b Mon Sep 17 00:00:00 2001 From: Michel Filipe Date: Wed, 24 Jul 2024 17:22:49 -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 ecc3daf21..bca849d85 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: 'main', **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