From eceed02a90b3de41c0a8cfcd7ef2d859e9638993 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Thu, 25 Jul 2019 14:31:20 +0200 Subject: [PATCH] Do not issue error dialog when no tag is found in git repo for tree-revision info. Reported by Joel Kulesza. Candidate for branch. --- src/VCBackend.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;