server: put the notes refspec on the Notes tab
Half of why notes are unusable everywhere else is that no clone fetches
them and git offers no way to change that default. The incantation is one
line and nobody knows it, so the Notes tab prints it.
The plan said the repo page. The tab is the better place: a refspec in the
clone box of every repository would be noise for the many that have no
notes, and somebody wondering why a fresh clone shows nothing is already
standing here. Shown whether or not the repository has any notes, since
arriving after a clone that fetched nothing is exactly the confusing case.
Static copy, so no handler changes and nothing to keep in sync.
Co-Authored-By
Claude Opus 5 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-08-08 21:30 UTC
{% call ui::empty_state("", "No notes in this repository. Notes are git objects on refs/notes/*; push them with git push origin refs/notes/*.") %}{% endcall %}