#!/bin/sh
# FIXME this does not put a diff for the first checkin?
# if it was an arcs-created repo, doesn't matter
git log |
awk '$1=="commit" {print $2}' |
(
	read A
	while read B; do
		echo "$A"
		git diff -u "$B" "$A" |
		  sed 's/^/ /'
		echo
		A="$B"
	done
)
