Git VCS: use describe for tree revision info.

This commit is contained in:
Pavel Sanda 2013-02-17 23:19:29 -08:00
parent 112abd1978
commit 8ef1e2b9df

View File

@ -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())