From: Pavel Sanda Date: Thu, 25 Jul 2019 12:31:20 +0000 (+0200) Subject: Do not issue error dialog when no tag is found in git repo for tree-revision info. X-Git-Tag: lyx-2.4.0dev-acb2ca7b~1656 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=eceed02a90b3de41c0a8cfcd7ef2d859e9638993;p=lyx.git Do not issue error dialog when no tag is found in git repo for tree-revision info. Reported by Joel Kulesza. Candidate for branch. --- diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp index 3a4ecb4f05..0338e674c2 100644 --- a/src/VCBackend.cpp +++ b/src/VCBackend.cpp @@ -2190,7 +2190,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;