diff options
author | James Moger <james.moger@gitblit.com> | 2013-10-24 15:44:44 -0400 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2013-10-25 07:55:56 -0400 |
commit | 90d5e02cca934cdf8d582873f5bf13e710c12393 (patch) | |
tree | 015cf70dd056b4820ebfa4468c09c9007131dafa /src/main/java/com/gitblit/GitBlit.java | |
parent | b4f946d4c964612d5398fd6450f63618c327b7dd (diff) | |
download | gitblit-90d5e02cca934cdf8d582873f5bf13e710c12393.tar.gz gitblit-90d5e02cca934cdf8d582873f5bf13e710c12393.zip |
Remove "show readme" flag in favor of automatic detection
Automatic detection also will now also display a plain text "readme"
or "readme.txt" file.
Change-Id: Id6be729bdc469e7a5cfd1f4144df340a6b93475e
Diffstat (limited to 'src/main/java/com/gitblit/GitBlit.java')
-rw-r--r-- | src/main/java/com/gitblit/GitBlit.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/com/gitblit/GitBlit.java b/src/main/java/com/gitblit/GitBlit.java index a23dd8c2..f313b6e3 100644 --- a/src/main/java/com/gitblit/GitBlit.java +++ b/src/main/java/com/gitblit/GitBlit.java @@ -2015,7 +2015,6 @@ public class GitBlit implements ServletContextListener { model.verifyCommitter = getConfig(config, "verifyCommitter", false); model.showRemoteBranches = getConfig(config, "showRemoteBranches", hasOrigin); model.isFrozen = getConfig(config, "isFrozen", false); - model.showReadme = getConfig(config, "showReadme", false); model.skipSizeCalculation = getConfig(config, "skipSizeCalculation", false); model.skipSummaryMetrics = getConfig(config, "skipSummaryMetrics", false); model.commitMessageRenderer = CommitMessageRenderer.fromName(getConfig(config, "commitMessageRenderer", @@ -2578,7 +2577,6 @@ public class GitBlit implements ServletContextListener { 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); config.setBoolean(Constants.CONFIG_GITBLIT, null, "skipSizeCalculation", repository.skipSizeCalculation); config.setBoolean(Constants.CONFIG_GITBLIT, null, "skipSummaryMetrics", repository.skipSummaryMetrics); config.setString(Constants.CONFIG_GITBLIT, null, "federationStrategy", |