summaryrefslogtreecommitdiff
path: root/repo/hooks/update-custom
blob: b7875e4b1641d9a4a3d0fd107fa05e95c44ba76c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#
# Local customizations for git update hook begin here.
# We'll need a valid absolute path before ciabot.py.
#

ciabot.py ${refname} $(git rev-list ${oldrev}..${newrev} | tac)

cdto=$(git rev-parse --show-cdup)
echo "Path to base directory: $cdto"
echo "Files modified:"
for filename in `git diff --name-only ${oldrev} ${newrev}`
do
    echo "Source path: $filename"
done