Skip to content

Instantly share code, notes, and snippets.

@relrod
Created December 22, 2009 08:27
Show Gist options
  • Save relrod/261612 to your computer and use it in GitHub Desktop.
Save relrod/261612 to your computer and use it in GitHub Desktop.
#!/bin/sh
refname=${1#refs/heads/}
[ "$refname" = "master" ] && refname=
oldhead=$2
newhead=$3
for merged in $(git rev-list $newhead $oldhead | tail -r); do
perl /home/ricky/dev/python/django/magicvote/doc/ciavc-update.pl $merged $refname
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment