Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2019 19:21:41 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Shawn Webb <shawn.webb@hardenedbsd.org>
Cc:        freebsd-git@freebsd.org
Subject:   Re: Speeding up slower Git operations
Message-ID:  <CAPyFy2BESvqYc4%2BPu0VfBDfiH4JAUx%2Bsd4JLbg792xKySO7pew@mail.gmail.com>
In-Reply-To: <20190624205724.4c27vdvgwrlfz3uu@mutt-hbsd>
References:  <CAPyFy2AWw0EaeThqpa2Gb9bJCnjb3UgHCARvdpUnh=Pp8mpKkA@mail.gmail.com> <CADzbx%2Bq=sn%2B_bqtwE65GjfkPYZLxpx0-cLLEvH6sisJ7M-QrWQ@mail.gmail.com> <CAPyFy2CAFJ1r26q3FsfTdmy-JsyPrxv5EPaaoZD=Egzs4T10xA@mail.gmail.com> <CAPyFy2Dia_AEtHKYESrZh_nh7fgQ%2Bzxoa-Xk20Xj5vn%2B8MgsaQ@mail.gmail.com> <20190624205724.4c27vdvgwrlfz3uu@mutt-hbsd>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 24 Jun 2019 at 16:57, Shawn Webb <shawn.webb@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?"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2BESvqYc4%2BPu0VfBDfiH4JAUx%2Bsd4JLbg792xKySO7pew>