Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show-progress: false should not add --progress flag to git checkout command #1956

Open
liias opened this issue Oct 25, 2024 · 0 comments
Open

Comments

@liias
Copy link

liias commented Oct 25, 2024

I'm using the v4 and show-progress option is applied only to "Fetching the repository" git fetch command,
but not the "Checking out the ref" git checkout command.

##[group]Run actions/checkout@v4
with:
  show-progress: false

git fetch correctly omits --progress flag:

##[group]Fetching the repository
[command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +mygithash:refs/remotes/pull/123/merge

git checkout falsely still includes --progress flag:

##[group]Checking out the ref
[command]/usr/bin/git checkout --progress --force refs/remotes/pull/123/merge
@liias liias changed the title show-progress: false still adds --progress flag to git checkout show-progress: false should not add --progress flag to git checkout command Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant