aboutsummaryrefslogtreecommitdiff
path: root/grok-post-update
blob: af7e967429cf40fc0f49b7d90dcc569d61e8a368 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# called by the grokmirror post_update_hook with the name of the repo that
# was just updated.

cd $1

# make sure the repo is marked for gitweb to show
touch git-daemon-export-ok

# make sure the repo is accessible via the http dumb protocol
git update-server-info