pkgs/git-show-link: Handle branch names with slashes properly
This commit is contained in:
@@ -41,7 +41,7 @@ def get_remote_branch():
|
|||||||
|
|
||||||
local_branch, remote_branch = branches
|
local_branch, remote_branch = branches
|
||||||
|
|
||||||
remote, branch = remote_branch.split("/")
|
remote, branch = remote_branch.split("/", maxsplit=1)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
"remote": remote,
|
"remote": remote,
|
||||||
|
Reference in New Issue
Block a user