aboutsummaryrefslogtreecommitdiff
path: root/contrib/hooks
AgeCommit message (Collapse)Author
2016-07-13Update contrib script to update agefiles per namespaceRichard Maw
This uses the same age file as before if it's in the root namespace, but puts the agefile in info/web/namespaced/$GIT_NAMESPACE/last-modified. Signed-off-by: Richard Maw <richard.maw@gmail.com>
2015-08-12contrib/hooks: add sample post-receive hook using agefileJohn Keeping
One of the most frequent questions on the mailing list relates to the idle time in the repository list. The answer to this is to use the "agefile" feature to calculate the time of the last change whenever the repository receives changes. Add a sample post-receive hook in a new "contrib" directory so that we can just point people at the repository in the future. Signed-off-by: John Keeping <john@keeping.me.uk>