mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
Git VCS: use describe for tree revision info.
This commit is contained in:
parent
112abd1978
commit
8ef1e2b9df
@ -2189,7 +2189,7 @@ bool GIT::getTreeRevisionInfo()
|
||||
return false;
|
||||
}
|
||||
|
||||
doVCCommand("git log -n 1 --pretty=format:%H . > " + quoteName(tmpf.toFilesystemEncoding()),
|
||||
doVCCommand("git describe --abrev --dirty --long > " + quoteName(tmpf.toFilesystemEncoding()),
|
||||
FileName(owner_->filePath()));
|
||||
|
||||
if (tmpf.empty())
|
||||
|
Loading…
Reference in New Issue
Block a user