From 24172f0771453ac4c9bbc0008fe75c1f994356a4 Mon Sep 17 00:00:00 2001 From: leafee98 Date: Wed, 31 Jan 2024 14:08:51 +0800 Subject: [PATCH] fix: can't switch to remote branch by git fragment --- makedeb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makedeb b/makedeb index 41b26bc..9b5b167 100755 --- a/makedeb +++ b/makedeb @@ -261,7 +261,7 @@ function extract_source_single { if [[ -n "${frag}" ]] ; then case "${frag%%=*}" in "branch") - ref="refs/heads/${frag##*=}" + ref="refs/remotes/origin/${frag##*=}" ;; "tag") ref="refs/tags/${frag##*=}"