Re: git: df53ae0fdd98 - main - Remove portsnap(8)

From: Piotr P. Stefaniak <pstef_at_freebsd.org>
Date: Sun, 23 Apr 2023 06:12:18 UTC
On 2023-04-23 01:12:43, Colin Percival wrote:
>    Remove portsnap(8)
>
>    Rather than having a tool in the FreeBSD base system for obtaining
>    the FreeBSD ports tree, users are encouraged to `pkg install git`
>    and then `git clone https://git.FreeBSD.org/ports.git /usr/ports`.

With my 64 KB/s downlink a shallow copy of just the main branch takes
almost 4 hours. What's worse, git has no way of resuming an interrupted
download. I don't remember if gitup is better in that regard.

What I usually do with repos like this is I clone it from a well
connected remote machine, archive just the .git directory, copy that
using rsync or sftp and finally do `git reset --hard`.

It would be nice to be able to just rsync worktrees of our repositories
from a public source.

Piotr