[fpc-pascal] How to get fpc and lazarus sources when svn has shut down?

Michael Van Canneyt michael at freepascal.org
Thu Aug 12 08:24:14 CEST 2021



On Thu, 12 Aug 2021, Christo Crause via fpc-pascal wrote:

>> Now as I said I have not used git and for my day use cannot switch because
>> we
>> use properties of svn that are simply not available in git...
>>
>
> To retrieve a specific branch without history (I think this is
> approximately equivalent to the svn co command) specify options --branch
> (to specify which branch to check out),  --single-branch (to not pull in
> other branches) and --depth (to limit the history that git pulls in):
>
> git clone --depth=1 --branch fixes_3_2 --single-branch
> https://gitlab.com/freepascal.org/fpc/source.git fpc-fixes_3_2
>
> This example downloads about 46 MiB of data, which expands to around 309
> MiB on disk, of which 50 MiB is git information.

Nice, I didn't even know this one. We learn every day !

Thanks.

Michael.


More information about the fpc-pascal mailing list