fix: can't switch to remote branch by git fragment
This commit is contained in:
parent
932f8b695e
commit
24172f0771
2
makedeb
2
makedeb
|
@ -261,7 +261,7 @@ function extract_source_single {
|
||||||
if [[ -n "${frag}" ]] ; then
|
if [[ -n "${frag}" ]] ; then
|
||||||
case "${frag%%=*}" in
|
case "${frag%%=*}" in
|
||||||
"branch")
|
"branch")
|
||||||
ref="refs/heads/${frag##*=}"
|
ref="refs/remotes/origin/${frag##*=}"
|
||||||
;;
|
;;
|
||||||
"tag")
|
"tag")
|
||||||
ref="refs/tags/${frag##*=}"
|
ref="refs/tags/${frag##*=}"
|
||||||
|
|
Loading…
Reference in a new issue