0
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2024-12-22 07:35:47 +02:00
checkout/__test__
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
..
git-auth-helper.test.ts Support fetching without the --progress option (#1067) 2023-09-01 14:19:18 -04:00
git-command-manager.test.ts Support fetching without the --progress option (#1067) 2023-09-01 14:19:18 -04:00
git-directory-helper.test.ts Add support for sparse checkouts (#1369) 2023-06-09 09:08:21 -04:00
git-version.test.ts Convert checkout to a regular action (#70) 2019-12-03 10:28:59 -05:00
input-helper.test.ts Support fetching without the --progress option (#1067) 2023-09-01 14:19:18 -04:00
modify-work-tree.sh Convert checkout to a regular action (#70) 2019-12-03 10:28:59 -05:00
override-git-version.cmd Swap to Environment Files (#360) 2020-09-30 11:41:09 -04:00
override-git-version.sh Swap to Environment Files (#360) 2020-09-30 11:41:09 -04:00
ref-helper.test.ts update dev dependencies and react to new linting rules (#611) 2021-10-19 09:52:57 -05:00
retry-helper.test.ts update dev dependencies and react to new linting rules (#611) 2021-10-19 09:52:57 -05:00
verify-basic.sh update default branch (#305) 2020-07-14 09:23:30 -04:00
verify-clean.sh Convert checkout to a regular action (#70) 2019-12-03 10:28:59 -05:00
verify-lfs.sh Convert checkout to a regular action (#70) 2019-12-03 10:28:59 -05:00
verify-no-unstaged-changes.sh update troubleshooting instructions to include 'npm run format' 2020-05-31 17:48:51 -04:00
verify-side-by-side.sh Convert checkout to a regular action (#70) 2019-12-03 10:28:59 -05:00
verify-sparse-checkout-non-cone-mode.sh Mark test scripts with Bash'isms to be run via Bash (#1377) 2023-06-09 11:05:29 -04:00
verify-sparse-checkout.sh Mark test scripts with Bash'isms to be run via Bash (#1377) 2023-06-09 11:05:29 -04:00
verify-submodules-false.sh add support for submodules (#173) 2020-03-05 14:21:59 -05:00
verify-submodules-recursive.sh add support for submodules (#173) 2020-03-05 14:21:59 -05:00
verify-submodules-true.sh add support for submodules (#173) 2020-03-05 14:21:59 -05:00