diff options
author | James Moger <james.moger@gitblit.com> | 2012-10-11 18:11:50 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2012-10-11 18:11:50 -0400 |
commit | 15640f86032169ad9bfef17c387b94f30a61582f (patch) | |
tree | 6f3dc7bb8248f2d239da6c6d237de90921fed114 /src/com/gitblit/GitBlit.java | |
parent | fa89b73e63911f5b216ac8c06e39cff8e987e3ba (diff) | |
download | gitblit-15640f86032169ad9bfef17c387b94f30a61582f.tar.gz gitblit-15640f86032169ad9bfef17c387b94f30a61582f.zip |
Experimental committer verification
Diffstat (limited to 'src/com/gitblit/GitBlit.java')
-rw-r--r-- | src/com/gitblit/GitBlit.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/com/gitblit/GitBlit.java b/src/com/gitblit/GitBlit.java index bf9b1ed1..36f5f35c 100644 --- a/src/com/gitblit/GitBlit.java +++ b/src/com/gitblit/GitBlit.java @@ -1257,6 +1257,7 @@ public class GitBlit implements ServletContextListener { "accessRestriction", settings.getString(Keys.git.defaultAccessRestriction, null)));
model.authorizationControl = AuthorizationControl.fromName(getConfig(config,
"authorizationControl", settings.getString(Keys.git.defaultAuthorizationControl, null)));
+ model.verifyCommitter = getConfig(config, "verifyCommitter", false);
model.showRemoteBranches = getConfig(config, "showRemoteBranches", hasOrigin);
model.isFrozen = getConfig(config, "isFrozen", false);
model.showReadme = getConfig(config, "showReadme", false);
@@ -1698,6 +1699,7 @@ public class GitBlit implements ServletContextListener { config.setBoolean(Constants.CONFIG_GITBLIT, null, "allowForks", repository.allowForks);
config.setString(Constants.CONFIG_GITBLIT, null, "accessRestriction", repository.accessRestriction.name());
config.setString(Constants.CONFIG_GITBLIT, null, "authorizationControl", repository.authorizationControl.name());
+ config.setBoolean(Constants.CONFIG_GITBLIT, null, "verifyCommitter", repository.verifyCommitter);
config.setBoolean(Constants.CONFIG_GITBLIT, null, "showRemoteBranches", repository.showRemoteBranches);
config.setBoolean(Constants.CONFIG_GITBLIT, null, "isFrozen", repository.isFrozen);
config.setBoolean(Constants.CONFIG_GITBLIT, null, "showReadme", repository.showReadme);
|