diff --git a/pkgs/git-show-link/git-show-link.py b/pkgs/git-show-link/git-show-link.py index 3ed4981..63647d0 100755 --- a/pkgs/git-show-link/git-show-link.py +++ b/pkgs/git-show-link/git-show-link.py @@ -41,7 +41,7 @@ def get_remote_branch(): local_branch, remote_branch = branches - remote, branch = remote_branch.split("/") + remote, branch = remote_branch.split("/", maxsplit=1) return { "remote": remote,