rosa-build/bin/post-receive-hook.partial

12 lines
339 B
Plaintext
Raw Normal View History

2012-02-15 11:12:49 +00:00
#!/bin/bash
# This file was placed here by rosa-team. It makes sure that your pushed commits will be processed properly.
pwd=`pwd`
reponame=`basename $pwd .git`
owner=`basename \`dirname $pwd\``
while read oldrev newrev ref
do
newrev_type=$(git cat-file -t $newrev 2> /dev/null)
2012-02-15 13:06:25 +00:00
oldrev_type=$(git cat-file -t "$oldrev" 2> /dev/null)