From 44d1a444ba6bcf692b45a8fc43543916b0278063 Mon Sep 17 00:00:00 2001 From: clerie Date: Mon, 19 May 2025 10:49:07 +0200 Subject: [PATCH] pkgs/git-show-link: Handle branch names with slashes properly --- pkgs/git-show-link/git-show-link.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,