Re: FreeBSD 13 source code using git clone fails

From: John Kennedy <warlock_at_phouka.net>
Date: Tue, 21 Sep 2021 17:48:48 UTC
On Tue, Sep 21, 2021 at 08:31:18PM +0300, Stefan Parvu wrote:
> Still one question here. What is going on… Im not seeing this on x64, 12.2 
> 
> root@generic:/usr # git clone -o freebsd https://gitlab.com/FreeBSD/freebsd-src src
> Cloning into 'src'...
> warning: redirecting to https://gitlab.com/FreeBSD/freebsd-src.git/
> remote: Enumerating objects: 4299105, done.
> remote: Counting objects: 100% (48360/48360), done.
> remote: Compressing objects: 100% (22212/22212), done.
> remote: Total 4299105 (delta 26036), reused 44961 (delta 25550), pack-reused 4250745
> Receiving objects: 100% (4299105/4299105), 1.48 GiB | 1.99 MiB/s, done.
> Killeding deltas:  41% (1341119/3229850)
> 
> root@generic:/usr # ls -lrt src
> total 4
> drwxr-xr-x  7 root  wheel  512 Sep 21 17:09 .git
> 
> There is nothing cloned. 

  Check out the branch you're on.  If your setup is defaulting to "master" (vs "main"), it'll probably show nothing.