Georg Baum wrote:
> commit 22b7ad2b0a6c228f234bcf7f5a0b164fca17e122
> Author: Georg Baum <b...@lyx.org>
> Date:   Thu Feb 7 22:07:22 2013 +0100
> 
>     Implement revision info for git
>
> +bool GIT::getTreeRevisionInfo()
> +{
> +     FileName tmpf = FileName::tempName("lyxvcout");
> +     if (tmpf.empty()) {
> +             LYXERR(Debug::LYXVC, "Could not generate logfile " << tmpf);
> +             return false;
> +     }
> +
> +     doVCCommand("git log -n 1 --pretty=format:%H . > " + 
> quoteName(tmpf.toFilesystemEncoding()),
> +                 FileName(owner_->filePath()));

The "." is intentional? I would expect that we wanted the whole tree revision 
hash.
We used to document this in other backends...

Pavel

Eh.. did I say thank you? :)

Reply via email to