Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Aug 2020 22:01:35 +0000
From:      "Sideropoulos, Alexander" <Alexander.Sideropoulos@netapp.com>
To:        "freebsd-git@freebsd.org" <freebsd-git@freebsd.org>
Cc:        "Maxwell, Larus" <Larus.Maxwell@netapp.com>
Subject:   SVN Revision-Like IDs in Git
Message-ID:  <013F16E7-DDBB-4C2F-829D-D08B53CC7585@netapp.com>

next in thread | raw e-mail | index | archive | help

Hey folks,

According to this page...
    https://hackmd.io/_lvyl1CfTsayB3L0v4fmLA#What%E2%80%99s-with-the-funny-revision-hashes-I-want-revision-numbers

...there are no plans to provide an SVN-revision-like ID for Git commits once the switch-over happens.

At NetApp, we rely on the SVN revision number to uniquely identify our FreeBSD baseline and every cherry-picked patch we apply on top of it. We could update all our tooling to accept Git hashes, but this is not a small task. And I imagine we are not the only downstream project reliant upon SVN revision numbers.

Since the SVN revision ID is really just an arbitrary number, has there been any thought in simply continuing to manufacture these numbers for Git commits going forward? It could even be a post-commit operation where the Git notes are updated with a unique (increasing) ID, just as is done today.

Thoughts?
--ap


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?013F16E7-DDBB-4C2F-829D-D08B53CC7585>