This commit is contained in:
Marc Beninca 2024-12-01 18:11:09 +01:00
parent 6ed3cb83a6
commit 428ea3e9e5
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -539,7 +539,7 @@ a__git_tag_delete() {
# update head ref
gurh() { a__git_update_ref_head "${@}"; }
a__git_update_ref_head() {
if [ "${2}" ]; then
if [ -n "${2}" ]; then
git \
update-ref \
"refs/heads/${1}" \