minor fix

This commit is contained in:
fatalerrors
2026-05-20 15:54:23 +02:00
parent 9a272689eb
commit 1a48280b14
6 changed files with 36 additions and 27 deletions

View File

@@ -71,7 +71,7 @@ _git_default_branch()
head=$(git symbolic-ref --quiet --short "refs/remotes/${remote}/HEAD" 2>/dev/null) || true
if [[ -n $head ]]; then
printf "%s\n" "${head#${remote}/}"
printf "%s\n" "${head#"${remote}"/}"
return 0
fi