From 90d5e02cca934cdf8d582873f5bf13e710c12393 Mon Sep 17 00:00:00 2001 From: James Moger Date: Thu, 24 Oct 2013 15:44:44 -0400 Subject: 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 --- src/main/java/com/gitblit/client/EditRepositoryDialog.java | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/main/java/com/gitblit/client') 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(); -- cgit v1.2.3