arl/gitmux

[FEATURE] trim-from-left branch name

elad-eyal opened this issue · 3 comments

if branch_max_len > 0

and the branch name is too long

it should truncate by removing the start and leaving the end of the branh name

because may of my branches start with authorname/ so it's not useful to see just the start.

arl commented

We could do that in a backward compatible way by:

  • adding an additonal parameter
  • or by interpreting negative max_branch_len as trim from the end and positive as trim from the start
arl commented

@eladeyal-intel the feature is present from version v0.7.6
latest -> https://github.com/arl/gitmux/releases/latest

thanks!!! @arl