about summary refs log tree commit homepage
path: root/script/public-inbox-mda
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-04-28 01:03:31 +0000
committerEric Wong <e@80x24.org>2016-04-28 01:03:31 +0000
commite983376326eab20daac9c2bfbb65b88c4fd248a2 (patch)
treeac7675388c06bcf44336420d82252845a54da618 /script/public-inbox-mda
parent8317f27e2c99fd5dea393183948b373bd0df1fc0 (diff)
downloadpublic-inbox-e983376326eab20daac9c2bfbb65b88c4fd248a2.tar.gz
We should update $GIT_DIR/info/refs for dumb HTTP clients
whenever we make changes to the repository.  The best place
to update is immediately after making commits.

This fixes a bug where public-inbox-learn did not properly
update $GIT_DIR/info/refs after inserting or removing
messages.
Diffstat (limited to 'script/public-inbox-mda')
-rwxr-xr-xscript/public-inbox-mda4
1 files changed, 0 insertions, 4 deletions
diff --git a/script/public-inbox-mda b/script/public-inbox-mda
index 6c76734c..611e7c38 100755
--- a/script/public-inbox-mda
+++ b/script/public-inbox-mda
@@ -102,10 +102,6 @@ sub do_spamc {
 
 sub index_sync {
         my ($git_dir) = @_;
-
-        # potentially user-visible, ignore errors:
-        system('git', "--git-dir=$git_dir", 'update-server-info');
-
         eval {
                 require PublicInbox::SearchIdx;
                 PublicInbox::SearchIdx->new($git_dir, 2)->index_sync;