[Users] git version...?

Pierre Fortin pf at pfortin.com
Thu Oct 13 20:15:15 UTC 2022


On Thu, 13 Oct 2022 21:33:03 +0200 Ricardo Mones wrote:

>Hi Pierre,
>
>On Mon, 10 Oct 2022 14:37:13 -0400
>Pierre Fortin <pf at pfortin.com> wrote:
>
>> Curious...  why is it I see this in messages:  
>> >X-Mailer: Claws Mail 4.1.0git1374 (GTK 3.24.34; x86_64-pc-linux-gnu)
>> >   
>>                               ^^^^
>> 
>> Yet, I follow the instructions at https://www.claws-mail.org/git.php
>> and end up with 4.1.0git71...?   1303 off.  
>> version: 4.1.0-71-gaad93a  
>
>People with that weird numbers are building from git repositories which
>were created before the gtk3 branch merging into master. Something
>strange happened on that merge or perhaps some subtle git bug, and that
>causes the git describe command to count commits beyond the last
>annotated tag.
>
>If you compare those pre-merge repos with a pristine clone you can
>observe different refs for the same tag, e.g. this excerpt from diffing
>between the two .git/info/refs file:
>
>-c59b91c646a94a647ed033d912598668ca9ddd29       refs/tags/4.1.0
>-d973a3e1d8eee4d72864274cb5e85af476ba1334       refs/tags/4.1.0^{}
>+fc48f2f483dfce421c1227ff0cb5b2cfa8855929       refs/tags/4.1.0
>+3674865761a7d909ac4bff505a624b175d842c41       refs/tags/4.1.0^{}
>
>How it happened? No idea :-) but it's nice to know that a pristine
>clone fixes it.

Not sure I understand the "fixes it"...  I just did:
$ git clone https://git.claws-mail.org/readonly/claws.git
$ cd claws
$ ./autogen.sh
$ make -j20
$ make install
$ cat version
echo 4.1.0-71-gaad93a

Is git71 the correct/official version?  
I see your X-Mailer reports 1374...

I'm not a git expert; is this implying there's 2 parallel branches?




More information about the Users mailing list