aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.mk
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2026-05-21 14:17:50 +0200
committerChristian Hesse <mail@eworm.de>2026-05-21 15:27:10 +0200
commit55f8359c0b18e6f2c182fd14132d1d58fb39b6d1 (patch)
tree52dceefacc2577bff3e8fe7d811423fff94b59d2 /cgit.mk
parent1cd637cd1f637aa8aa1c2d416ae01ee31b3a691c (diff)
downloadcgit-55f8359c0b18e6f2c182fd14132d1d58fb39b6d1.tar.gz
cgit-55f8359c0b18e6f2c182fd14132d1d58fb39b6d1.tar.bz2
cgit-55f8359c0b18e6f2c182fd14132d1d58fb39b6d1.zip
ui-shared: add "this commit" option to switch form
Branches are grouped into their own section to make the "this commit" option visually distinct. Adding this option will result in two options being marked as selected if a branch has the same name as a commit oid. But that would cause all sorts of other problems anyway (attempting to switch to the branch would actually give you the commit, etc.), so let's not worry about that. A "permalink" link on the blob view next to the "plain" link would probably be more discoverable, but that would only work for the blob view. The switch UI is visible everywhere. Signed-off-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'cgit.mk')
0 files changed, 0 insertions, 0 deletions