diff options
author | Steve McIntyre <steve@einval.com> | 2018-06-01 00:17:43 +0100 |
---|---|---|
committer | Steve McIntyre <steve@einval.com> | 2018-06-01 00:19:30 +0100 |
commit | 48fb99039ead996a8fe4ceb3134ce4c2b7b4d2a5 (patch) | |
tree | db451c072e05b1abdfc1d41391b7bbdb542de9c7 /remove_stale.pl | |
parent | e86a3b73808f23c9361274c6c4781a3b9f7950d3 (diff) |
Cache the whole repo for better performance
Diffstat (limited to 'remove_stale.pl')
-rwxr-xr-x | remove_stale.pl | 4 |
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" { |