From: Pavel Sanda Date: Fri, 26 Jul 2019 19:42:19 +0000 (+0200) Subject: Backport eceed02a90. X-Git-Tag: 2.3.4~74 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f4e700be2a5a52e841e596155ce0750d4a2b76aa;p=features.git Backport eceed02a90. --- 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