mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Do not issue error dialog when no tag is found in git repo for tree-revision info.
Reported by Joel Kulesza. Candidate for branch.
This commit is contained in:
parent
bdf8c3b530
commit
eceed02a90
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user