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

Fix hanging CI when git fetch --shallow-since takes too long #213

Merged
merged 3 commits into from
Jul 21, 2023

Conversation

ArturT
Copy link
Member

@ArturT ArturT commented Jul 21, 2023

changes

  • Call git fetch --shallow-since "one month ago" --quiet 2>/dev/null only if the repository is shallow
  • Skip git fetch --shallow-since when it takes longer than 5s

related issue

@ArturT ArturT added bug wip Work in progress labels Jul 21, 2023
@ArturT ArturT removed the wip Work in progress label Jul 21, 2023
@ArturT ArturT changed the title Fix for a CI hangs issue when git fetch --shallow-since take too long Fix hanging CI when git fetch --shallow-since takes too long Jul 21, 2023
@ArturT ArturT merged commit 054f0e1 into master Jul 21, 2023
@ArturT ArturT deleted the fix-git-shallow branch July 21, 2023 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant