In GitLab, the branch's name is normally the issue ID followed by the hyphenated title,
and I've noticed that the issue's titile having numbers is incorrectly handled.
$ git branch
* 10-bump-up-to-v2.0
main
$ git open -ip
https://gitlab.example.com/user/repo/issues/1020
# I expected https://gitlab.example.com/user/repo/issues/10
I've fixed the issue ID parsing to take the first number in branch name.
fixes #182
Hi,
I use this good tool everyday and thank you!
In GitLab, the branch's name is normally the issue ID followed by the hyphenated title, and I've noticed that the issue's titile having numbers is incorrectly handled.
I've fixed the issue ID parsing to take the first number in branch name.