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

allow deps to checkout unmerged commits #2922

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gucliti
Copy link

@gucliti gucliti commented Nov 5, 2024

  • keep orignal scenario (Ref available locally) : If the ref SHA is part of the default fetched refs, the initial checkout succeeds, and no additional fetch is needed.

  • added scenario (Ref not available locally after git clone): If the ref is an unmerged commit (e.g., testing a pending change in CI flow), the initial checkout fails. Then fetches the specific ref from the remote repository and retries the checkout.

- keep orignal scenario (Ref available locally) :
  If the ref SHA is part of the default fetched refs, the initial
checkout succeeds, and no additional fetch is needed.

- added scenario (Ref not available locally after git clone):
  If the ref is an unmerged commit (e.g., testing a pending change in CI
flow), the initial checkout fails. Then fetches the specific ref from the
remote repository and retries the checkout.
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

Successfully merging this pull request may close these issues.

1 participant