aboutsummaryrefslogtreecommitdiff
path: root/templates/repo_index.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo_index.tmpl')
-rw-r--r--templates/repo_index.tmpl7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/repo_index.tmpl b/templates/repo_index.tmpl
index 21eb5f6..d040f3a 100644
--- a/templates/repo_index.tmpl
+++ b/templates/repo_index.tmpl
@@ -51,6 +51,13 @@
</div>
{{- end -}}
<p class="readingwidth"><code>{{- .ssh_clone_url -}}</code></p>
+ {{- if .ref_name -}}
+ <p class="readingwidth">
+ <strong>
+ Warning: Due to various recent migrations, viewing non-HEAD refs may be broken.
+ </strong>
+ </p>
+ {{- end -}}
{{- if .commits -}}
<div class="commit-list-small">
{{- range .commits -}}