about summary refs log tree commit diff
path: root/.gitignore
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2020-07-23 20:48:21 +0000
committerJune McEnroe <june@causal.agency>2022-02-13 11:52:37 -0500
commit6524fe67102d55dd4f67581117366fc89ad469c2 (patch)
tree289286d1f0d659d5b2ffce08ca55a84855c861e9 /.gitignore
parentShow subject in commit page title (diff)
downloadcgit-pink-6524fe67102d55dd4f67581117366fc89ad469c2.tar.gz
cgit-pink-6524fe67102d55dd4f67581117366fc89ad469c2.zip
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 '.gitignore')
0 files changed, 0 insertions, 0 deletions
590cc5c8f5a7c88729dd4a796a0199a36e0&follow=1'>Customize cgit CSSJune McEnroe 2019-12-18Use :target rather than :focus pseudo-classJune McEnroe :target persists after you click on something else. 2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe 2019-12-18Add git.causal.agency cgit configJune McEnroe 2019-12-18Bail from hi if input is binaryJune McEnroe NULs in the input cause an infinite loop in htmlEscape, not to mention regexes obviously not working, etc. 2019-12-16Post "cgit setup"June McEnroe