From 85016e706cd00e527dba3fa83b2783dfb56a4ffa Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Sun, 27 Dec 2020 18:45:04 -0500 Subject: Squashed 'www/git.causal.agency/cgit/' content from commit 02221fd3 git-subtree-dir: www/git.causal.agency/cgit git-subtree-split: 02221fd3fe523a3293d64e3359036e3a71d6fd7e --- contrib/hooks/post-receive.agefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 contrib/hooks/post-receive.agefile (limited to 'contrib') diff --git a/contrib/hooks/post-receive.agefile b/contrib/hooks/post-receive.agefile new file mode 100755 index 00000000..2f72ae9c --- /dev/null +++ b/contrib/hooks/post-receive.agefile @@ -0,0 +1,19 @@ +#!/bin/sh +# +# An example hook to update the "agefile" for CGit's idle time calculation. +# +# This hook assumes that you are using the default agefile location of +# "info/web/last-modified". If you change the value in your cgitrc then you +# must also change it here. +# +# To install the hook, copy (or link) it to the file "hooks/post-receive" in +# each of your repositories. +# + +agefile="$(git rev-parse --git-dir)"/info/web/last-modified + +mkdir -p "$(dirname "$agefile")" && +git for-each-ref \ + --sort=-authordate --count=1 \ + --format='%(authordate:iso8601)' \ + >"$agefile" -- cgit 1.4.1 sh/libedit/shlib_version?id=1c1788f109c68e90ee401ecd52bc463b747feb04'>tree commit diff
path: root/bin/cash/libedit/shlib_version (unfollow)
Commit message (Collapse)Author
2019-02-12Fix sh comment pattern to require blankJune McEnroe
2019-02-12Unify *up scripts into one up.shJune McEnroe
2019-02-12Use a proper fread-realloc loop in hiJune McEnroe
2019-02-12Don't match Rust raw strings inside other stringsJune McEnroe
2019-02-12Add Rust to hiJune McEnroe
This also fixes the block comment pattern to match /* **/ correctly.
2019-02-12Call setlocale in hiJune McEnroe
2019-02-11Install html with -CJune McEnroe
2019-02-10Avoid excessive tags in ttpreJune McEnroe
2019-02-10Generate html for binsJune McEnroe
2019-02-10Use italic for underline in nvim man modeJune McEnroe
This doesn't yet work in Terminal.app: <https://github.com/neovim/neovim/issues/9598>.
2019-02-10Add plain text "language" to hiJune McEnroe
2019-02-10Don't match DQ string inside SQ stringJune McEnroe
2019-02-10Skip only one character if a match fails due to parentJune McEnroe
Really it should skip forward until the parent changes, but this is simpler.
2019-02-10Remove pattend from hiJune McEnroe
2019-02-10Replace uses of pattend with newline patternsJune McEnroe
2019-02-10Add hi debug outputJune McEnroe
2019-02-10Actually do HTML &quot; escapingJune McEnroe
2019-02-10Set git commit.verboseJune McEnroe
2019-02-10Add back missing static keywordJune McEnroe