From f744d2c52814b685e68438f5382e973db5edaf8c Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sat, 5 Apr 2025 11:41:57 +0800 Subject: HTML: Broken branches warning --- templates/repo_index.tmpl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'templates/repo_index.tmpl') 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 @@ {{- end -}}

{{- .ssh_clone_url -}}

+ {{- if .ref_name -}} +

+ + Warning: Due to various recent migrations, viewing non-HEAD refs may be broken. + +

+ {{- end -}} {{- if .commits -}}
{{- range .commits -}} -- cgit v1.2.3