Skip to content

Dev#14

Closed
boyvinall wants to merge 1 commit into
mainfrom
dev
Closed

Dev#14
boyvinall wants to merge 1 commit into
mainfrom
dev

Conversation

@boyvinall

@boyvinall boyvinall commented Jun 11, 2026

Copy link
Copy Markdown
Owner

latest stable version, works better than main, but needs some more cleanup/fixes – not ready to commit this to main yet

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
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