Speeding up slower Git operations

Ed Maste emaste at freebsd.org
Mon Jun 24 23:22:00 UTC 2019


On Mon, 24 Jun 2019 at 16:57, Shawn Webb <shawn.webb at hardenedbsd.org> wrote:
>
> On Mon, Jun 24, 2019 at 12:46:41PM -0400, Ed Maste wrote:
> >
> > This idea is implemented in review D20462,
> > https://reviews.freebsd.org/D20462
> >
> > Here's an example from a test machine of mine:
> > # uname -a
> > FreeBSD test 13.0-CURRENT FreeBSD 13.0-CURRENT
> > 322839cffdb-c260903(wipbsd.20190326) GENERIC  amd64
>
> Is there any real use for the monotonically increasing version number
> in git? For example, can I go from c27 to git commit hash?

Not really / easily; there's no built-in tooling to find the has that
corresponds to c260903, although it should be possible to write a
script to do so.

Really my goal in D20462 is just providing a monotonically increasing
number that can serve as a proxy for "is my checkout before/after a
specific change?"


More information about the freebsd-git mailing list