mirror of
https://github.com/A6-9V/MQL5-Google-Onedrive.git
synced 2026-04-11 02:40:56 +00:00
Optimized \`scripts/review_pull_requests.py\` by replacing iterative \`git log\` calls with a single \`git for-each-ref\` command using the \`%(ahead-behind:main)\` atom. Performance Impact: - Execution time reduced from ~1.2s to ~0.37s for 270+ branches. - Scalability improved from O(N) git calls to O(1) git calls for metadata retrieval. Technical Details: - Utilizes Git 2.41+ \`ahead-behind\` atom for efficient merge detection. - Pre-fetches branch names, commit counts, and last commit dates in one pass. - Removed unused \`get_branch_info\` function. - Filtered out \`origin/HEAD\` (short name 'origin') from analysis. |
||
|---|---|---|
| .. | ||
| bolt.md | ||
| deploy.yml | ||