Re: date based checkouts in git possible?

From: Chris <bsd-lists_at_bsdforge.com>
Date: Sat, 04 Jun 2022 06:26:43 UTC
On 2022-06-03 23:09, Mark Millard wrote:
> On 2022-Jun-3, at 22:12, Chris <bsd-lists@bsdforge.com> wrote:
> 
>> I'm in need of checking out the ports tree as it was
>> at an earlier date.
> 
> Do you not care which specific commit on the specific day
> (or other time interval)?
> 
> Is this a one time thing? A regular procedure for varying
> dates? Something else?
> 
> About how long ago is the date in question? Pre-git?
> Post-git?
> 
> Is the branch known? main? A quarterly? (Which quarterly?)
> 
> If it is a one time thing and recent enough, looking at
> the commits reported for the month via, say, something like:
> 
> https://lists.freebsd.org/archives/dev-commits-ports-main/
> or:
> https://lists.freebsd.org/archives/dev-commits-ports-branches/
> 
> should allow finding a commit-hash-prefix for something from
> the date in question. After that: normal git procedures. But
> it is not clear if your context fits that.
Thank you very much for the infrmitive reply, Mark.
It turns out that the date of the commit I need is *just* prior
to the git changeover. So I'm lucky enough to get it with svn --
which I happen to know the incantation for.

Thanks for providing me the info I needed to figure that out. :-)

> ===
> Mark Millard
> marklmi at yahoo.com

Chris