Describe the bug
When fetching a marketplace repo (github or git url), the CLI does a git pull --ff-only regardless of whether there's a ref specified in the marketplace definition. This can lead to a failure depending on what the ref specifies (branch should be ok, tag or commit may not be). The plugin repo fetching does this correctly, I believe, so that logic likely just needs to be ported over.
Affected version
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
Additional context
No response
Describe the bug
When fetching a marketplace repo (github or git url), the CLI does a
git pull --ff-onlyregardless of whether there's a ref specified in the marketplace definition. This can lead to a failure depending on what the ref specifies (branch should be ok, tag or commit may not be). The plugin repo fetching does this correctly, I believe, so that logic likely just needs to be ported over.Affected version
No response
Steps to reproduce the behavior
No response
Expected behavior
No response
Additional context
No response