#!/bin/sh
dir=$(dirname $0)
GIT_EDITOR=$dir/upcase-commit-message.sh
export GIT_EDITOR

git rev-list HEAD | while read rev ; do
    git replace --force --edit "$rev"
done
