aboutsummaryrefslogtreecommitdiffstats
path: root/remove_stale.pl
diff options
context:
space:
mode:
authorSteve McIntyre <steve@einval.com>2018-06-01 00:17:43 +0100
committerSteve McIntyre <steve@einval.com>2018-06-01 00:19:30 +0100
commit48fb99039ead996a8fe4ceb3134ce4c2b7b4d2a5 (patch)
treedb451c072e05b1abdfc1d41391b7bbdb542de9c7 /remove_stale.pl
parente86a3b73808f23c9361274c6c4781a3b9f7950d3 (diff)
Cache the whole repo for better performance
Diffstat (limited to 'remove_stale.pl')
-rwxr-xr-xremove_stale.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/remove_stale.pl b/remove_stale.pl
index 4a7589164e3..df1e47c47cd 100755
--- a/remove_stale.pl
+++ b/remove_stale.pl
@@ -34,6 +34,10 @@ use constant INSTALLDIR => '../www';
my $VCS = Local::VCS->new();
+# Cache the repo history for performance
+print "Initialising VCS cache\n";
+$VCS->cache_repo();
+
###############################################################
# "main"
{

© 2014-2024 Faster IT GmbH | imprint | privacy policy