Commit graph

2 commits

Author SHA1 Message Date
google-labs-jules[bot]
995a7acd4e Bolt: optimize review_working_trees.py with bulk Git metadata
Consolidated multiple Git CLI calls into fewer, more efficient commands:
- Replaced separate 'git status --short' and 'git status -sb' with a single 'git status -sb' call in get_status_info().
- Refactored get_branch_info() to use 'git for-each-ref' with the ahead-behind atom (Git 2.41+) for O(1) merge status checking.
- Implemented Git version detection to provide safe fallback for environments with Git < 2.41.
- Added main branch verification before using it for merge status checks.
- Improved current branch detection using 'git symbolic-ref'.
- Extended remote branch analysis to include all configured remotes.

Measurable performance gain: ~20% reduction in execution time (from ~0.47s to ~0.38s).
2026-02-28 11:32:12 +00:00
Huawei-Window-Techno
feadbaf06d feat: Add working tree review script and report - Created review_working_trees.py for comprehensive branch/stash/worktree analysis - Added Working Tree Review Report documentation - Analyzed 81 remote branches (25 merged, 55 unmerged) - Fixed Unicode encoding issues in git command execution 2026-01-10 05:13:04 +07:00