Git tag not replacing branch

pull/22/head
Niccolò Maggioni 9 years ago
parent 2d3131fb8a
commit b46a96a7ce
No known key found for this signature in database
GPG Key ID: 4874B0C841E33264

@ -64,7 +64,7 @@ function +vi-git-tagname() {
local tag
tag=$(git describe --tags --exact-match HEAD 2>/dev/null)
[[ -n "${tag}" ]] && hook_com[branch]="$(print_icon 'VCS_TAG_ICON')${tag}"
[[ -n "${tag}" ]] && hook_com[branch]+=" $(print_icon 'VCS_TAG_ICON')${tag}"
}
# Show count of stashed changes

Loading…
Cancel
Save