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/client | |
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/client')
-rw-r--r-- | src/main/java/com/gitblit/client/EditRepositoryDialog.java | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/main/java/com/gitblit/client/EditRepositoryDialog.java b/src/main/java/com/gitblit/client/EditRepositoryDialog.java index f4d94505..1c499ee1 100644 --- a/src/main/java/com/gitblit/client/EditRepositoryDialog.java +++ b/src/main/java/com/gitblit/client/EditRepositoryDialog.java @@ -94,8 +94,6 @@ public class EditRepositoryDialog extends JDialog { private JCheckBox showRemoteBranches;
- private JCheckBox showReadme;
-
private JCheckBox skipSizeCalculation;
private JCheckBox skipSummaryMetrics;
@@ -216,8 +214,6 @@ public class EditRepositoryDialog extends JDialog { showRemoteBranches = new JCheckBox(
Translation.get("gb.showRemoteBranchesDescription"),
anRepository.showRemoteBranches);
- showReadme = new JCheckBox(Translation.get("gb.showReadmeDescription"),
- anRepository.showReadme);
skipSizeCalculation = new JCheckBox(
Translation.get("gb.skipSizeCalculationDescription"),
anRepository.skipSizeCalculation);
@@ -312,8 +308,6 @@ public class EditRepositoryDialog extends JDialog { .add(newFieldPanel(Translation.get("gb.enableIncrementalPushTags"), useIncrementalPushTags));
fieldsPanel.add(newFieldPanel(Translation.get("gb.showRemoteBranches"),
showRemoteBranches));
- fieldsPanel.add(newFieldPanel(Translation.get("gb.showReadme"),
- showReadme));
fieldsPanel
.add(newFieldPanel(Translation.get("gb.skipSizeCalculation"),
skipSizeCalculation));
@@ -567,7 +561,6 @@ public class EditRepositoryDialog extends JDialog { repository.useDocs = useDocs.isSelected();
repository.useIncrementalPushTags = useIncrementalPushTags.isSelected();
repository.showRemoteBranches = showRemoteBranches.isSelected();
- repository.showReadme = showReadme.isSelected();
repository.skipSizeCalculation = skipSizeCalculation.isSelected();
repository.skipSummaryMetrics = skipSummaryMetrics.isSelected();
repository.maxActivityCommits = (Integer) maxActivityCommits.getSelectedItem();
|