commit f4e700be2a5a52e841e596155ce0750d4a2b76aa
Author: Pavel Sanda <sa...@lyx.org>
Date:   Fri Jul 26 21:42:19 2019 +0200

    Backport eceed02a90.
---
 src/VCBackend.cpp |    3 ++-
 status.23x        |    3 +++
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp
index 957c69f..02141dd 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 9e9cce9..cc615f0 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

Reply via email to