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

Feat improve necessary check #69

Merged
merged 2 commits into from
May 9, 2024
Merged

Conversation

chengcyber
Copy link
Member

@chengcyber chengcyber commented May 8, 2024

Basic Checks

Have you run rush change for this change?

  • Yes
  • No

If No, please run rush change before, this is necessary.

If adding a new feature, the PR's description includes:

  • Reason for adding this feature
  • How to use
  • A basic example

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

Summary

Improve the logic to avoid unnecessary git operations when tracking remote branches.

Detail

  1. Do not run "git remote set-branches --add" if it's not a single branch mode
  2. Do not run the special logic for temporarily turn off single branch mode if it's not a single branch mode.

How to test it

Local

@chengcyber chengcyber merged commit bdd846b into main May 9, 2024
3 checks passed
@chengcyber chengcyber deleted the feat-improve-necessary-check branch May 9, 2024 22:46
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