Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jan 2024 00:46:20 +0000
From:      Jamie Landeg-Jones <jamie@catflap.org>
To:        jamie@catflap.org, imp@bsdimp.com
Cc:        junchoon@dec.sakura.ne.jp, freebsd-current@freebsd.org, brooks@freebsd.org, bakul@iitbombay.org
Subject:   Re: git repo port issues?
Message-ID:  <202401080046.4080kKjd043903@donotpassgo.dyslexicfish.net>
In-Reply-To: <CANCZdfrUHDbWd7_SzsF67be6xjpXPVQUD5y33DPpD-tO_0UMTw@mail.gmail.com>
References:  <202401031913.403JDZBt028036@donotpassgo.dyslexicfish.net> <ZZWz-14AXfcSY2AD@spindle.one-eyed-alien.net> <46C8698A-A004-4B5F-9107-6D9FD3685074@iitbombay.org> <ZZXui1gm0IIVoWca@spindle.one-eyed-alien.net> <20240104183539.cef54811b98fe53c5841edca@dec.sakura.ne.jp> <202401041914.404JEJCm083648@donotpassgo.dyslexicfish.net> <CANCZdfrUHDbWd7_SzsF67be6xjpXPVQUD5y33DPpD-tO_0UMTw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Warner Losh <imp@bsdimp.com> wrote:

> See sys/conf/newvers.sh for the 'n' value we use in uname strings.  It's a
> linear count of commits on the first-parent branch back to the start of the
> repo.
>
> Also, the dates usualy are first order correct and i use them for the stats
> i run. Though I've also just dropped tags on the first commit of each year
> too...

Ahhh brilliant, thanks! I didn't know about that. That looks like just what
I'm after.

Is it safe to assume that all commits in a cloned and then fetched/pulled
repo will have the commits in the same order as the parent?

Also, are "null commits", where there is a commit but no actual files commited
(not sure what those are for!) counted too? 

(example: https://cgit.dyslexicfish.net/src/current/commit/?id=cb4ff25c8a40e6811f48f6ad03a0bf882404e9ac )

I'll never understand the nuances of operating day to day with git like you
guys, so I'm grateful for the help and patience you have shown, especially
when I come out with an idea that is basically dumb.

Cheers, Jamie



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202401080046.4080kKjd043903>