emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting the value of `emacs-bzr-version' also from a git checkout


From: Dani Moncayo
Subject: Re: Setting the value of `emacs-bzr-version' also from a git checkout
Date: Tue, 1 Oct 2013 20:37:59 +0200

>> But FWIW, if I try Andreas' command on my git repo I get an error:
>>
>>   $ git log -1 | head -n1
>>   commit 2c691e3566392fb2d234892cf379b58886e98361
>>
>>   $ git notes show 2c691e3566392fb2d234892cf379b58886e98361
>>   error: No note found for object 2c691e3566392fb2d234892cf379b58886e98361.
>
> You need to configure your repo to fetch the notes.
>
> $ git config --add remote.origin.fetch "+refs/notes/*:refs/notes/*"

Yes, that worked:

  $ git notes show d079fb16c40905c3ebb5a53483dc17eb85d1577b
  address@hidden

But the final goal would be to make `emacs-bzr-version' get the
correct value also when building emacs from the official git repo.
And since its value includes both the bzr revno and the bzr revision
ID (e.g. "114456 address@hidden"), the
notes stored in the git repo are insufficient (they lack the bzr
revno).

-- 
Dani Moncayo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]