tests/copy-src: always copy .git dir

This is required by a later commit that introduces flakes-based test
evaluation. Evaluating local flakes needs a repo dir.
This commit is contained in:
Erik Arvstedt 2022-10-22 19:37:50 +02:00
parent a87a59a86b
commit 5f1bb2a8fc
No known key found for this signature in database
GPG key ID: 33312B944DD97846
3 changed files with 1 additions and 21 deletions

View file

@ -14,7 +14,7 @@ atExit() {
trap "atExit" EXIT
# shellcheck disable=SC2154
rsync -a --delete --exclude='.git*' "$scriptDir/../" "$tmp/src"
rsync -a --delete "$scriptDir/../" "$tmp/src"
echo "Copied src"
# shellcheck disable=SC2154