Merge branch 'maint'
[gitweb.git] / contrib / completion / git-completion.bash
index f71046947febee2cacfd2a9ed2e0746582a5e54f..604fa794cc4d2dd657f054f42e3001bee13b8202 100755 (executable)
@@ -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)..." ||