git: 70e64ba44941 - main - release.sh: Update GITROOT URL
Warner Losh
imp at bsdimp.com
Wed Dec 30 22:05:53 UTC 2020
On Wed, Dec 30, 2020 at 2:54 PM Brandon Bergren <bdragon at freebsd.org> wrote:
> On Wed, Dec 30, 2020, at 3:31 PM, Rodney W. Grimes wrote:
> > > > And no new mechanism in place to replace it? So, we have
> > > > no versioning of files in the final product any more?
> > > >
> > >
> > > No. We will not.
> >
> > That I take a very hard line against, that is IMHO a very big mistake.
> >
>
> Git has one main context where continuing to support expansion might make
> sense:
>
> When using git archive to create a tarball of a tree (for rolling a
> release or whatever), if the .gitattributes file has "export-subst" set for
> a file, it will do expansion at that time.
>
> However, I think it uses $Format$ instead of being able to define custom
> tags, so it's less convenient than $FreeBSD$ was.
>
And it exports the git object hash, not the commit hash, which is kinda
useless without access to the repo. Even if we could get $FreeBSD$ to
expand, it expands to something you need the git tree to do anything with.
There's the git smudge extension which does this, but it's tedious and
cumbersome to use, and the information it preserves is at best indirect.
Warner
More information about the dev-commits-src-all
mailing list