diff options
author | John Keeping <john@keeping.me.uk> | 2014-12-23 14:40:44 +0000 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2015-08-12 12:06:36 +0000 |
commit | 121e65391446069a538ae8d3f7938452178de7c6 (patch) | |
tree | 40ce94b65fc7a7d2b6d5ac98441460cb6a2a73a9 /cmd.c | |
parent | 2eb41c4665ad6866c8893668263c401d7b0ffc5d (diff) | |
download | cgit-121e65391446069a538ae8d3f7938452178de7c6.tar cgit-121e65391446069a538ae8d3f7938452178de7c6.tar.gz cgit-121e65391446069a538ae8d3f7938452178de7c6.zip |
contrib/hooks: add sample post-receive hook using agefile
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>
Diffstat (limited to 'cmd.c')
0 files changed, 0 insertions, 0 deletions