new_branch="$3"
if [ \( "$new_branch" = 1 \) ]; then
- phd_pubkey_HEAD="`git show-ref --hash refs/heads/phd-pubkey`"
- if [ "$new_HEAD" = "$phd_pubkey_HEAD" ]; then
+ if [ "$new_HEAD" = "`git rev-parse phd-pubkey`" ]; then
git clean -d -f -q
else
python2.7 -m compileall -q . &&