about summary refs log tree commit diff
path: root/third_party/glog/bazel
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2020-07-23T19·54+0000
committerAlyssa Ross <hi@alyssa.is>2020-07-23T20·53+0000
commitbe98295dc24492f6607cce04ba586e3897a83543 (patch)
tree94276eaecd99de57f2adcfd19d2efa36d9eac553 /third_party/glog/bazel
parentfa01f515e278d3b8d0c8af20d0668fb7baa98d6a (diff)
feat(3p/cgit): add "this commit" option to switch form r/1434
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.

This patch is in use already at <https://git.qyliss.net/> and
<https://spectrum-os.org/git/>.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
Message-Id: <20200723204820.16776-1-hi@alyssa.is>
Cc: Profpatsch <mail@profpatsch.de>
Change-Id: I7e88d1231dd402e0ad764e16b28e9a51964c6293
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1382
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'third_party/glog/bazel')
0 files changed, 0 insertions, 0 deletions