-n
This commit is contained in:
parent
6ed3cb83a6
commit
428ea3e9e5
1 changed files with 1 additions and 1 deletions
|
@ -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}" \
|
||||
|
|
Loading…
Reference in a new issue