← Back to team overview

kicad-developers team mailing list archive

Re: [PATCH] Fixed a False BZR Version Number Built From Local Branch of GIT-Source-Mirror

 

Hi,

On 14.09.2015 04:28, Mark Roszko wrote:

> Now anyone using the newer git-remote-bzr is in for fun as well
> because there is no such thing as "origin/HEAD".

origin/HEAD is automatically created with git-remote-bzr, but not
restored if lost.

You can recreate it via

echo "ref: refs/remotes/origin/master" >.git/refs/remotes/origin/master"

That way, you can also use "origin" as a short reference to
origin/master, e.g. "git log origin..master".

But I think that the version string determination should be more robust.

   Simon

Attachment: signature.asc
Description: OpenPGP digital signature


References