about summary refs log tree commit diff
path: root/filters/commit-links.sh
blob: 165a5335450914a15e64475f818713d33f32e91d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# This script can be used to generate links in commit messages - the first
# sed expression generates links to commits referenced by their SHA1, while
# the second expression generates links to a fictional bugtracker.
#
# To use this script, refer to this file with either the commit-filter or the
# repo.commit-filter options in cgitrc.

sed -re '
s|\b([0-9a-fA-F]{8,40})\b|<a href="./?id=\1">\1</a>|g
s| #([0-9]+)\b|<a href="http://bugs.example.com/?bug=\1">#\1</a>|g
'
.c?h=catgirl&id=76670b2fb145307c93f39ff859cfc7cb20c21ce9&follow=1'>Factor out windowReflowJune McEnroe 2021-01-26Use Warm heat for replies to user-initiated commandsJune McEnroe 2021-01-26Clarify configuration path interpretationsJune McEnroe 2021-01-26Tighten up XDG base directory path handlingJune McEnroe 2021-01-26Expand the opening paragraph of the manualJune McEnroe 2021-01-25Disable notify in restricted modeJune McEnroe 2021-01-25Don't print timestamps for blank lines in bufferListJune McEnroe 2021-01-25Do not copy time to wrapped linesJune McEnroe 2021-01-25Add protocol coverage to non-features listJune McEnroe 2021-01-25Move mention of pledge(2) and unveil(2) to READMEJune McEnroe 2021-01-23Preserve order of filters when removingJune McEnroe 2021-01-23Fix /unignore commandJune McEnroe 2021-01-23Remove use of "%n" to appease de RaadtJune McEnroe 2021-01-23Drop filesystem access iff possibleKlemens Nanni 2021-01-23Drop exec capability iff restrictedKlemens Nanni 2021-01-23Drop network capability after ircConnect()Klemens Nanni 2021-01-23Call pledge(2) after unveil(2)Klemens Nanni 2021-01-23Separate kiosk mode from restrict modeJune McEnroe 2021-01-21Simplify windowUpdate loops and factor out windowTopJune McEnroe 2021-01-21Document that M-l shows timestampsJune McEnroe 2021-01-19Don't lose swapped window when navigating to current bufferJeremy O'Brien 2021-01-19Use Warm heat for manually inserted blank linesJune McEnroe 2021-01-18Add example tmux(1) configKlemens Nanni 2021-01-17Use Warm heat for blank linesJune McEnroe 2021-01-16Add -I highlight option and /highlightJune McEnroe