checkout/src
Simon Baird 8b5e8b7687
Support fetching without the --progress option (#1067)
Setting the `show-progress` option to false in the `with` section of the
workflow step will cause git fetch to run without `--progress`.

The motivation is to be able to suppress the noisy progress status
output which adds many hundreds of "remote: Counting objects: 85%
(386/453)" and similar lines in the workflow log.

This should be sufficient to resolve #894 and its older friends,
though the solution is different to the one proposed there because
it doesn't use the --quiet flag. IIUC git doesn't show the progress
status by default since the output is not a terminal, so that's why
removing the --progress option is all that's needed.

Adding the --quiet flag doesn't make a lot of difference once the
--progress flag is removed, and actually I think using --quiet would
suppress some other more useful output that would be better left
visible.

Signed-off-by: Simon Baird <sbaird@redhat.com>
2023-09-01 14:19:18 -04:00
..
misc Patch to fix the dependbot alert. (#744) 2022-04-05 13:01:33 -04:00
fs-helper.ts update dev dependencies and react to new linting rules (#611) 2021-10-19 09:52:57 -05:00
git-auth-helper.ts Add new public key for known_hosts (#1237) 2023-03-24 01:34:48 -04:00
git-command-manager.ts Support fetching without the --progress option (#1067) 2023-09-01 14:19:18 -04:00
git-directory-helper.ts Fix typos found by codespell (#1287) 2023-04-19 16:55:10 +02:00
git-source-provider.ts Support fetching without the --progress option (#1067) 2023-09-01 14:19:18 -04:00
git-source-settings.ts Support fetching without the --progress option (#1067) 2023-09-01 14:19:18 -04:00
git-version.ts Convert checkout to a regular action (#70) 2019-12-03 10:28:59 -05:00
github-api-helper.ts Fix: convert baseUrl to serverApiUrl 'formatted' (#1289) 2023-04-13 14:25:50 +02:00
input-helper.ts Support fetching without the --progress option (#1067) 2023-09-01 14:19:18 -04:00
main.ts set insteadOf url for org-id (#621) 2021-11-01 11:43:18 -05:00
ref-helper.ts Fix: convert baseUrl to serverApiUrl 'formatted' (#1289) 2023-04-13 14:25:50 +02:00
regexp-helper.ts add support for submodules (#173) 2020-03-05 14:21:59 -05:00
retry-helper.ts update dev dependencies and react to new linting rules (#611) 2021-10-19 09:52:57 -05:00
state-helper.ts Fix comment typos (that got added in #770) (#1057) 2022-12-28 17:19:08 -05:00
url-helper.ts Inject GitHub host to be able to clone from another GitHub instance (#922) 2022-09-26 12:34:52 -04:00
workflow-context-helper.ts set insteadOf url for org-id (#621) 2021-11-01 11:43:18 -05:00