unison icon indicating copy to clipboard operation
unison copied to clipboard

branch.diff ergonomics

Open ceedubs opened this issue 4 weeks ago • 2 comments

Describe and demonstrate the bug

Maybe I'm not using it the intended way, but I find branch.diff awkward to use.

Usually I want to compare my current branch to /main.

If I run branch.diff /main then I don't get that; I get an fzf prompt.

If I run branch.diff /main /<TAB> then I get auto-completion for every branch except my current branch, which is basically always the one that I want.

Am I going about this wrong?

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • ucm --version * d884da2a6
  • OS/Architecture: x86 linux

ceedubs avatar Dec 09 '25 14:12 ceedubs

Hmm, I'm not sure why branch.diff /main /<TAB> wouldn't show your current branch, that's certainly not intended.

mitchellwrosen avatar Dec 09 '25 14:12 mitchellwrosen

I also agree that a one-branch version that compares to the current branch (#6013) is essential; it's on our current sprint but our current sprint is on hold

aryairani avatar Dec 09 '25 14:12 aryairani