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

Add check_git_status(..., branch='master') argument #9199

Merged
merged 2 commits into from
Aug 29, 2022

Conversation

glenn-jocher
Copy link
Member

@glenn-jocher glenn-jocher commented Aug 29, 2022

Signed-off-by: Glenn Jocher glenn.jocher@ultralytics.com

πŸ› οΈ PR Summary

Made with ❀️ by Ultralytics Actions

🌟 Summary

Improvement in YOLOv5's git status checking to support different branches.

πŸ“Š Key Changes

  • Added a branch parameter to the check_git_status function to specify which branch to compare.
  • Modified status checking code to compare the checked-out branch with the specified branch instead of assuming 'master'.

🎯 Purpose & Impact

  • 🎨 Allows developers to check the git status against branches other than 'master', increasing flexibility.
  • πŸš€ Users working on different branches can now stay updated with the latest changes on those specific branches.
  • 🌐 Opens the door for easier maintenance and development across multiple branches within the repository.

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
@glenn-jocher glenn-jocher self-assigned this Aug 29, 2022
@glenn-jocher glenn-jocher merged commit f65081c into master Aug 29, 2022
@glenn-jocher glenn-jocher deleted the update/check_git branch August 29, 2022 13:00
ctjanuhowski pushed a commit to ctjanuhowski/yolov5 that referenced this pull request Sep 8, 2022
Add check_git_status(branch='master') argument

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
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