Allow admins to disable magic ref check on upload

Some sites manage to run their repositories in a way that prevents
users from ever being able to create refs/for, refs/drafts or
refs/publish names in a repository. Allow admins on those servers
to disable this (somewhat) expensive check before every upload.

Change-Id: Ibf51f9fa214aa07ec7bae9c40d6ef8ce6265e816
This commit is contained in:
Shawn Pearce
2013-02-27 16:20:26 -08:00
parent 9baff9d299
commit 5cb31bfbc0
4 changed files with 60 additions and 7 deletions

View File

@@ -23,5 +23,6 @@ public class GitModule extends FactoryModule {
factory(RenameGroupOp.Factory.class);
factory(MetaDataUpdate.InternalFactory.class);
bind(MetaDataUpdate.Server.class);
bind(ReceiveConfig.class);
}
}