Files
kustomize/pkg
Philipp Strube 4f429d6b86 Reduce time required for cloning remote bases
This commit changes git/cloner.go from cloning the whole history
and then checking out the desired ref to a implementation that
only downloads the history for the desired ref.

It does so by first initializing an empty repository, setting the
source repository as a remote, fetching just the desired ref and
then hard resetting the empty local repo to that ref.

This reduces the time it takes to build the multibases example
as a remote base at ref v2.0.3 from an avg of 8s with the
current implementation to an avg of 2s out of 10 runs each, by
drastically decreasing the data transferred.

The improvement should increase as repositories grow.
2019-03-06 19:31:24 +01:00
..
2019-03-04 13:50:49 -08:00
2019-02-26 21:04:36 -08:00
2019-02-22 18:29:53 +01:00
2019-02-26 10:39:23 -08:00
2019-01-29 14:13:46 -08:00
2018-11-22 08:27:25 -08:00
2019-02-07 10:11:45 -08:00
2019-02-16 14:26:43 -08:00
2018-10-02 15:09:19 -07:00