]> git.ipfire.org Git - thirdparty/gcc.git/commit
maintainer-scripts: Speed up git clone in gcc_release
authorJakub Jelinek <jakub@redhat.com>
Thu, 27 Feb 2020 08:38:12 +0000 (09:38 +0100)
committerJakub Jelinek <jakub@redhat.com>
Thu, 27 Feb 2020 08:38:12 +0000 (09:38 +0100)
commit494e434c05fee088aa5290bca37e29c923b316d5
tree566563d731354623b8fb76aa15e14484ac24a4a5
parentcf70bb0fbd7fb0f4bca99c53a36d0a389dcc2fc5
maintainer-scripts: Speed up git clone in gcc_release

When doing the 8.4-rc1, I've noticed (probably also because of the dying
disk on sourceware) that git clone is extremely slow, and furthermore when
all of us have some local snapshots, it is a waste of resources to download
everything again.  Especially for the -f runs when we'll need to wait until
git tag -s asks us for a gpg password interactively.

The following patch adds an option through which one can point the script
at a local gcc .git directory from which it can --dissociate --reference ...
during cloning to speed it up.

2020-02-27  Jakub Jelinek  <jakub@redhat.com>

* gcc_release: Add support for -b local-git-repo argument.
maintainer-scripts/ChangeLog
maintainer-scripts/gcc_release