From e1b7fe15cfa2060cffca56b01dd7d6eb7b6a777f Mon Sep 17 00:00:00 2001
From: Tatyana Kostromskaya <32135588+takost@users.noreply.github.com>
Date: Tue, 5 Sep 2023 14:30:54 +0000
Subject: [PATCH] .

---
 dist/index.js              | 1 +
 src/git-source-provider.ts | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dist/index.js b/dist/index.js
index 45c8d27..13f3e36 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1261,6 +1261,7 @@ function getSource(settings) {
             else {
                 fetchOptions.fetchDepth = settings.fetchDepth;
                 fetchOptions.fetchTags = settings.fetchTags;
+                fetchOptions.showProgress = settings.showProgress;
                 const refSpec = refHelper.getRefSpec(settings.ref, settings.commit);
                 yield git.fetch(refSpec, fetchOptions);
             }
diff --git a/src/git-source-provider.ts b/src/git-source-provider.ts
index c1360b8..acbf688 100644
--- a/src/git-source-provider.ts
+++ b/src/git-source-provider.ts
@@ -177,6 +177,7 @@ export async function getSource(settings: IGitSourceSettings): Promise<void> {
     } else {
       fetchOptions.fetchDepth = settings.fetchDepth
       fetchOptions.fetchTags = settings.fetchTags
+      fetchOptions.showProgress = settings.showProgress
       const refSpec = refHelper.getRefSpec(settings.ref, settings.commit)
       await git.fetch(refSpec, fetchOptions)
     }