<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cgit/contrib/hooks, branch v1.1</title>
<subtitle>cgit itself, for testing</subtitle>
<id>https://git.untode.su/cgit/atom?h=v1.1</id>
<link rel='self' href='https://git.untode.su/cgit/atom?h=v1.1'/>
<link rel='alternate' type='text/html' href='https://git.untode.su/cgit/'/>
<updated>2015-08-12T12:06:36Z</updated>
<entry>
<title>contrib/hooks: add sample post-receive hook using agefile</title>
<updated>2015-08-12T12:06:36Z</updated>
<author>
<name>John Keeping</name>
<email>john@keeping.me.uk</email>
</author>
<published>2014-12-23T14:40:44Z</published>
<link rel='alternate' type='text/html' href='https://git.untode.su/cgit/commit/?id=121e65391446069a538ae8d3f7938452178de7c6'/>
<id>urn:sha1:121e65391446069a538ae8d3f7938452178de7c6</id>
<content type='text'>
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 &lt;john@keeping.me.uk&gt;
</content>
</entry>
</feed>
lue='ch/dynamic-aging'>ch/dynamic-aging</option>
<option value='ch/for-jason'>ch/for-jason</option>
<option value='ch/git-2-56'>ch/git-2-56</option>
<option value='ch/highlight-line'>ch/highlight-line</option>
<option value='ch/log-commit-message'>ch/log-commit-message</option>
<option value='jd/render-filter'>jd/render-filter</option>
<option value='jd/zx2c4-deployment'>jd/zx2c4-deployment</option>
<option value='jk/collapsible-sections'>jk/collapsible-sections</option>
<option value='lf/filter'>lf/filter</option>
<option value='lf/for-jason'>lf/for-jason</option>
<option value='lh/grep'>lh/grep</option>
<option value='lh/pretty-blob-view'>lh/pretty-blob-view</option>
<option value='master'>master</option>
<option value='rm/namespace'>rm/namespace</option>
<option value='wiki'>wiki</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>cgit itself, for testing</td><td class='sub right'></td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit/about/?h=ch/default-pages'>about</a><a href='/cgit/?h=ch/default-pages'>summary</a><a href='/cgit/refs/?h=ch/default-pages&amp;id=c679d9010451b986bae719a6abe0458af2b2dfb9'>refs</a><a href='/cgit/log/tests/.gitignore?h=ch/default-pages'>log</a><a class='active' href='/cgit/tree/tests/.gitignore?h=ch/default-pages&amp;id=c679d9010451b986bae719a6abe0458af2b2dfb9'>tree</a><a href='/cgit/commit/tests/.gitignore?h=ch/default-pages&amp;id=c679d9010451b986bae719a6abe0458af2b2dfb9'>commit</a><a href='/cgit/diff/tests/.gitignore?h=ch/default-pages&amp;id=c679d9010451b986bae719a6abe0458af2b2dfb9'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit/log/tests/.gitignore'>
<input type='hidden' name='h' value='ch/default-pages'/><input type='hidden' name='id' value='c679d9010451b986bae719a6abe0458af2b2dfb9'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit/tree/?h=ch/default-pages&amp;id=c679d9010451b986bae719a6abe0458af2b2dfb9'>root</a>/<a href='/cgit/tree/tests?h=ch/default-pages&amp;id=c679d9010451b986bae719a6abe0458af2b2dfb9'>tests</a>/<a href='/cgit/tree/tests/.gitignore?h=ch/default-pages&amp;id=c679d9010451b986bae719a6abe0458af2b2dfb9'>.gitignore</a></div><div class='content'>blob: 3fd2e965c8d221134c8a6f301c75f4a365699eab (<a href='/cgit/plain/tests/.gitignore?h=ch/default-pages&amp;id=c679d9010451b986bae719a6abe0458af2b2dfb9'>plain</a>)
<table summary='blob content' class='blob'>
<tr><td class='linenumbers'><pre><a id='n1' href='#n1'>1</a>
<a id='n2' href='#n2'>2</a>
</pre></td>
<td class='lines'><pre><code>