hotoo / gitopen

:twisted_rightwards_arrows: Open git/hg/svn remote url via web browser from terminal.
https://hotoo.github.io/blog/post/gitopen
42 stars 6 forks source link

fixed: getBaseBranch when commit message with square brackets. #52 #53

Closed hotoo closed 7 years ago

hotoo commented 7 years ago

When commit message with square brackets (eg: "[foo] messages"), getBaseBranch() will get the "foo", not the base branch name.