3 # Prepare a packed repository for use over dumb transports.
4 # Also keep the personal mob area up-to-date if it's enabled.
8 git config gitweb.lastchange
"$(date '+%a, %d %b %Y %T %z')"
9 git for-each-ref
--sort=-committerdate --format='%(committerdate:iso8601)' \
10 --count=1 refs
/heads
> info
/lastactivity
11 if [ "$mob" = "mob" -a -d mob
]; then
12 git show-ref
> packed-refs.mob.$$
13 mv -f packed-refs.mob.$$ packed-refs.mob
14 rm -f packed-refs.mob.$$
16 exec git update-server-info