提交 51979bc6 编写于 作者: M Mislav Marohnić 提交者: Jingwen Owen Ou

Don't escape slashes in branch names with `;`

上级 237dc108
......@@ -3,7 +3,6 @@ package commands
import (
"fmt"
"regexp"
"strings"
"github.com/github/hub/github"
"github.com/github/hub/utils"
......@@ -73,7 +72,6 @@ func compare(command *Command, args *Args) {
}
}
r = strings.Replace(r, "/", ";", -1)
subpage := utils.ConcatPaths("compare", r)
url := project.WebURL("", "", subpage)
launcher, err := utils.BrowserLauncher()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册