From f4e700be2a5a52e841e596155ce0750d4a2b76aa Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Fri, 26 Jul 2019 21:42:19 +0200 Subject: [PATCH] Backport eceed02a90. --- src/VCBackend.cpp | 3 ++- status.23x | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp index 957c69f585..02141dd48f 100644 --- a/src/VCBackend.cpp +++ b/src/VCBackend.cpp @@ -2188,7 +2188,8 @@ bool GIT::getTreeRevisionInfo() } doVCCommand("git describe --abbrev --dirty --long > " + quoteName(tmpf.toFilesystemEncoding()), - FileName(owner_->filePath())); + FileName(owner_->filePath()), + false); //git describe returns $?=128 when no tag found (but git repo still exists) if (tmpf.empty()) return false; diff --git a/status.23x b/status.23x index 9e9cce9443..cc615f005f 100644 --- a/status.23x +++ b/status.23x @@ -31,6 +31,9 @@ What's new - Avoid using text mode for unicode symbols representable in math mode (bug 9616). +- Do not issue error dialog when no tag is found in git repository for + tree-revision info inset. + * DOCUMENTATION AND LOCALIZATION -- 2.39.5