X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=contrib%2Fcompletion%2Fgit-completion.bash;h=604fa794cc4d2dd657f054f42e3001bee13b8202;hb=23778ae9a08e9324f03898760b9e20b6b2dd6e23;hp=f71046947febee2cacfd2a9ed2e0746582a5e54f;hpb=e2110c8d881eb61db581b6b9ddd9568f20cf24c7;p=git.git diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index f71046947..604fa794c 100755 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -261,7 +261,7 @@ __git_ps1 () (describe) git describe HEAD ;; (* | default) - git describe --exact-match HEAD ;; + git describe --tags --exact-match HEAD ;; esac 2>/dev/null)" || b="$(cut -c1-7 "$g/HEAD" 2>/dev/null)..." ||