diff options
author | Eric Wong <e@80x24.org> | 2016-02-02 04:00:08 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-02-02 04:07:19 +0000 |
commit | d39a8a440c9b5c59e1fa058467f64034f8974e0e (patch) | |
tree | e91838195760216d9b3c0dda5931d3d88aa53cf6 /public-inbox-index | |
parent | 4c808e262750b717e27e050cecaed0a44e780aa6 (diff) | |
download | public-inbox-d39a8a440c9b5c59e1fa058467f64034f8974e0e.tar.gz |
This is enabled by default, for now. Smart HTTP cloning support will be added later, but it will be optional since it can be highly CPU and memory intensive.
Diffstat (limited to 'public-inbox-index')
-rwxr-xr-x | public-inbox-index | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/public-inbox-index b/public-inbox-index index 53449556..578d91d5 100755 --- a/public-inbox-index +++ b/public-inbox-index @@ -57,6 +57,9 @@ foreach my $dir (@dirs) { sub index_dir { my ($git_dir) = @_; -d $git_dir or die "$git_dir does not appear to be a git repository\n"; + + system('git', "--git-dir=$git_dir", 'update-server-info') and + die "git update-server-info failed for $git_dir"; my $s = PublicInbox::SearchIdx->new($git_dir, 1); $s->index_sync; } |