Skip to content

fix(git): preserve explicit branch listings#2586

Open
YOMXXX wants to merge 1 commit into
rtk-ai:developfrom
YOMXXX:fix/issue-2137-git-branch-all
Open

fix(git): preserve explicit branch listings#2586
YOMXXX wants to merge 1 commit into
rtk-ai:developfrom
YOMXXX:fix/issue-2137-git-branch-all

Conversation

@YOMXXX

@YOMXXX YOMXXX commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • preserve native git output for explicit rtk git branch -a/--all and -r/--remotes
  • keep the existing compact branch summary for default rtk git branch
  • add integration coverage with a local remote repo for branch -a and -r

Fixes #2137

Verification

  • cargo +1.93.0 fmt --check
  • git diff --check
  • cargo +1.93.0 test --test git_branch_test -- --nocapture
  • cargo +1.93.0 test filter_branch -- --nocapture
  • cargo +1.93.0 clippy --all-targets
  • cargo +1.93.0 test --all -- --skip small_grep_not_worse_than_plain

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.

[BUG] rtk git branch -a omits remote branches; -r works correctly

1 participant