aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/settings/branches.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/settings/branches.tmpl')
-rw-r--r--templates/repo/settings/branches.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/settings/branches.tmpl b/templates/repo/settings/branches.tmpl
index 6df2517a94..369f73fcc7 100644
--- a/templates/repo/settings/branches.tmpl
+++ b/templates/repo/settings/branches.tmpl
@@ -14,7 +14,7 @@
<form class="ui form" action="{{.Link}}" method="post">
{{.CsrfTokenHtml}}
<input type="hidden" name="action" value="default_branch">
- {{if not .Repository.IsBare}}
+ {{if not .Repository.IsEmpty}}
<div class="required inline field">
<div class="ui dropdown selection" tabindex="0">
<select name="branch">