From 2472c71408b44cd2bb68e819d1395ccaea870fb0 Mon Sep 17 00:00:00 2001 From: oGre Date: Sat, 26 Mar 2016 21:38:22 +0100 Subject: [PATCH] Fixed typo --- gitstatus_pre-1.7.10.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitstatus_pre-1.7.10.sh b/gitstatus_pre-1.7.10.sh index 9d5a471..a7a352f 100755 --- a/gitstatus_pre-1.7.10.sh +++ b/gitstatus_pre-1.7.10.sh @@ -58,7 +58,7 @@ remote= upstream= if [[ -z "$branch" ]]; then - tag=$( git describe --branch --exact-match 2>/dev/null ) + tag=$( git describe --tags --exact-match 2>/dev/null ) if [[ -n "$tag" ]]; then branch="$tag" else