summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2022-01-02 01:50:20 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2022-01-02 01:50:38 +0000
commit2295440911d3730fdee96596779214ade04acd81 (patch)
treeebaff56f9c0f822a98166975963e1d61ec0a86f0 /tests
parenta8701586cae6565b7bf7d186bca9a08d3b1e8e17 (diff)
tests/update-db-compat: Call git gc
We want to pack everything down, as we're going to commit this stuff as tarballs into dgit's permanent history ! Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/update-dh-compat2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/update-dh-compat b/tests/update-dh-compat
index 9afe1bf..6c35c6c 100755
--- a/tests/update-dh-compat
+++ b/tests/update-dh-compat
@@ -59,6 +59,8 @@ adjust_git_filter () {
-- --all
git_filter_strip_origs
+
+ git gc --aggressive --prune=all
}
cd "$toplevel"