about summary refs log tree commit diff
path: root/contrib/hooks/post-receive.agefile
blob: 2f72ae9c0dd549d10dde3335f11dc4fa453eaf97 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"
ass='logmsg'> This was reported by hovsater on IRC but I only saw it on my phone and I guess am missing logs for it. In any case the link to their patch is expired, so I wrote this. 2026-04-23Add dais from Left Hand of DarknessJune McEnroe I have not read it. This was contributed by the woman who made me install Real War: Not Fake. 2026-04-23Add y-d templateJune McEnroe 2026-03-23Replace tmppath pledge with rpath wpath cpathJune McEnroe 2026-03-23Add -ll for hilexJune McEnroe huh. should have always been there I guess, but now it actually matters, at least on OpenBSD? 2026-02-17Remove photo metadata directoriesJune McEnroe 2026-02-17Ignore photo metadataJune McEnroe I just don't want to be adding all this stuff to git. 2026-02-16Populate films datalist with 20 most recently usedJune McEnroe 2026-02-16Select last used bodyJune McEnroe 2026-02-15Don't break on trip with removed bodyJune McEnroe 2026-02-11Keep manpath.conf sortedJune McEnroe