[fpc-devel] Github hosting of FPC utilities and [stable] sources

Kevin Lyda kevin at lyda.ie
Thu Oct 22 10:01:06 CEST 2020

On Thu, Oct 22, 2020 at 1:07 AM Michael Fuchs via fpc-devel
<fpc-devel at lists.freepascal.org> wrote:
> Read log entries and changesets without downloading the whole
> repository. Git cannot do this. But this is only a secondary problem and
> I can do without it. Please don't invest any work in it.

time git clone git at github.com:graemeg/freepascal.git fpc-git
git clone git at github.com:graemeg/freepascal.git fpc-git  57.40s user
3.87s system 157% cpu 38.862 total
time svn checkout https://svn.freepascal.org/svn/fpc/trunk fpc-svn
svn checkout https://svn.freepascal.org/svn/fpc/trunk fpc-svn  8.80s
user 7.43s system 49% cpu 32.790 total
du -sh *
626M fpc-git
728M fpc-svn

The git repo takes 6 wall clock seconds longer to clone and consumes
100M less space.

If you want your git repo to be smaller and can burn some cpu:
git gc --aggressive; du -sh .
485M .

Regarding remote svn diffs vs local git diffs:

time svn log https://svn.freepascal.org/svn/fpc/trunk
svn log https://svn.freepascal.org/svn/fpc/trunk  1.02s user 0.45s
system 5% cpu 25.414 total
time git log | cat
git log  0.49s user 0.09s system 37% cpu 1.531 total
cat  0.02s user 0.37s system 25% cpu 1.531 total

You can dump all the logs in 25 wall clock seconds for svn; 1.5
seconds for git. You can also do things like git grep, git log -S and
so on.

And you can work without a network entirely for days. You won't be
able to access things added since you last connected, but you can
commit, do diffs, merges and blames and search history - all without a


More information about the fpc-devel mailing list