-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
When setting up strider with my repo I noticed that when you go to add a branch on the main project config page the auto complete was not correctly displaying branches with '/' in the name. Our project uses 'feature/branch_name' or 'bug/branch_name' as a naming convention for our branches.
Anyway I tracked down the problem in strider-git/lib/index.js line 105, in function processBranches() it was simply splitting the full branch name path ('refs/heads/branch/name') on '/' and changed this line to the following:
return line.split(/\s+/)[1].substring(11); //11 is the length of refs/heads/
which now returns everything after refs/heads/ as the branch name rather then simply anything after the last '/'.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels