Update go-git v6, gopsutil v4.26.1, x/term v0.39.0, and transitive deps. Refactor main() into testable run() function, add injectable processLister and termWidthFunc for test isolation, and add tests covering detached HEAD, dirty/clean worktree, empty repo, process listing errors, and terminal width fallback.
5.6 KiB
5.6 KiB