Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatyana Kostromskaya <32135588+takost@users.noreply.github.com>2023-09-05 14:30:54 +0000
committerTatyana Kostromskaya <32135588+takost@users.noreply.github.com>2023-09-05 14:30:54 +0000
commit347d32de4b417c674af7b7a17e02db5c70a7aa3e (patch)
tree67bb2bc060dcb8282ebb96d14ab2a2d4574c3e7f
parentb4932cadc95d8a0d91ee219b9b277fef61595ff3 (diff)
.
-rw-r--r--dist/index.js1
-rw-r--r--src/git-source-provider.ts1
2 files changed, 2 insertions, 0 deletions
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)
}