[Users] git version...?

Ricardo Mones ricardo at mones.org
Thu Oct 13 19:33:03 UTC 2022


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.
-- 
  Ricardo Mones 
  ~
  I'm sorry, my responses are limited. You must ask the right 
  questions.                                               A hologram



More information about the Users mailing list