summaryrefslogtreecommitdiffstats
path: root/post-update.sh
blob: 4460957a76a79e669b827ba7fd65f1e83fd3f1e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#
# An example hook script to prepare a packed repository for use over
# dumb transports.
#
# To enable this hook, rename this file to "post-update".


echo "PWD=$PWD"
git log --pretty=format:%h,%ai,%an,%s -1

echo "ARGS=" $*
while read IN; do
	echo "IN=$IN"
done

git update-server-info