If current branch is 'features/feature-123' that only 'features' will be displayed.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alex.skrypnyk’s picture

Status: Needs work » Needs review
FileSize
801 bytes

Patch agains 7x-2.5 attached

jbrauer’s picture

I like this idea (was going to get around to a similar patch). What about using array_pop() to take the last element of the array. Then even if I have heads/branch/2.0/feature/ticket-123 ... I still get ticket-123 which, at least in my experience is probably what I want...

e0ipso’s picture

This was fixed as part of #2301747: MAMP/git compatibility issues.

Thank you for taking the time for this!

jbrauer’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.