Conversation
Closed
The BranchStatus intermediate struct is removed. Branch, Detached, and the []LocalBranchRef slice now live directly on RepoStatus, eliminating one layer of indirection across all call-sites. - BranchStatus.Locations removed; checked-out branch data is now accessed via RepoStatus.CurrentBranchLocations(), which reads the LocalBranchRef with Current: true - GitBranchStatus() now returns (branch, detached, []LocalBranchRef, error) instead of a BranchStatus value - GitBranchStatus() always produces a Current: true entry, even when git for-each-ref does not enumerate the checked-out branch - FilterLocalOnlyForConfig replaced by RepoStatus.Filter(), which preserves the current branch so HEAD/remote comparison is always available - HasLocalRemoteMismatch replaced by HasUnpushedChanges, now scoped over all non-hidden branches (not just the current one) - AlwaysListBranch / branchDefaultAlways replaced with slices.Contains(config.Branches.Default, name) - MultiGitStatus.Set removed; AddResult used everywhere - RepoStatus.Status (embedded git.Status) removed; porcelain is the sole source of dirty-file data - RepoInclusionReasons and the "w why listed" TUI overlay removed - New report subcommand (report.go): scans repos and emits JSON plus a text summary; --output-file / -o flag writes to a file - openCurrentRepo changed to cmd.Start() (non-blocking editor launch) - Debug log.Printf calls and per-repo timing metrics removed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
latest stable version, works better than main, but needs some more cleanup/fixes – not ready to commit this to main yet