Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Branches list without prefixes #53

Open
puffy opened this issue Jan 27, 2014 · 0 comments
Open

Branches list without prefixes #53

puffy opened this issue Jan 27, 2014 · 0 comments

Comments

@puffy
Copy link

puffy commented Jan 27, 2014

Strano use below code of formatting branch name:

branch = br.gsub(/\*/, '').strip.split(' ').first.split('/').last

Why it split first part of branch prefix? Prefixes can be useful in teams (e.g. username/branch_name) to identify owner of the branch...

In additional final splitted branches are not sorted making them difficult to find.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant