source-controller/pkg
Paulo Gomes 860d7051da
libgit2: optimise checkout branch clones
No-op reconciliations are very inefficient, as they carry out
a full clone operation of the target repository even when
no changes have taken place.

This change will execute a remote-ls operation, and cancel
the clone operation if the remote tip commit is still the same
as the one observed on the last reconcilation. In such cases,
an git.NoChangesError is returned.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-05-11 11:40:04 +01:00
..
azure build: properly wire integration tests 2022-03-11 10:43:35 +01:00
gcp test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00
git libgit2: optimise checkout branch clones 2022-05-11 11:40:04 +01:00
minio Remove minio region 2022-05-10 14:28:54 +01:00
sourceignore test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00