Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
base: Clone git repo if present instead of rsync
I am guessing I may be one of the first people to try using tmt with a Rust project. The default for the `cargo` toolchain is to keep a *lot* of cached incremental data in `target/`. In my case with bootc, it's currently 20G. A plain rsync() of this is *incredibly* inefficient. rsync doesn't even use reflinks if available, though that's a distinct bug. Change the logic here to do a `git clone -s` which is *way* more efficient; it properly honors my `.gitignore` which includes `target/`. Signed-off-by: Colin Walters <walters@verbum.org>
- Loading branch information