mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Backport eceed02a90
.
This commit is contained in:
parent
4582edac1a
commit
f4e700be2a
@ -2188,7 +2188,8 @@ bool GIT::getTreeRevisionInfo()
|
|||||||
}
|
}
|
||||||
|
|
||||||
doVCCommand("git describe --abbrev --dirty --long > " + quoteName(tmpf.toFilesystemEncoding()),
|
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())
|
if (tmpf.empty())
|
||||||
return false;
|
return false;
|
||||||
|
@ -31,6 +31,9 @@ What's new
|
|||||||
|
|
||||||
- Avoid using text mode for unicode symbols representable in math mode (bug 9616).
|
- 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
|
* DOCUMENTATION AND LOCALIZATION
|
||||||
|
Loading…
Reference in New Issue
Block a user