#!/bin/sh
rev=$(git log -1 | sed -e 's/commit //' -e '2,$d')
echo $rev > /tmp/git-old-rev