Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Add a post-update hook for HTTP clones
cgit's built-in clone support speaks the dumb HTTP protocol, which serves static files that only git update-server-info refreshes. Without this hook a clone can miss refs pushed after the repository was created.
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/hooks/post-update.update-server-info18
1 file changed, 18 insertions, 0 deletions