Merge pull request #239 from ogr3/show-unannotated-tags-legacy

Make pr#238 work for legacy git as well
master
Martin Gondermann 10 years ago
commit 4713858872
  1. 2
      gitstatus_pre-1.7.10.sh

@ -58,7 +58,7 @@ remote=
upstream=
if [[ -z "$branch" ]]; then
tag=$( git describe --exact-match 2>/dev/null )
tag=$( git describe --branch --exact-match 2>/dev/null )
if [[ -n "$tag" ]]; then
branch="$tag"
else

Loading…
Cancel
Save