#!/bin/bash
+set -u
+
base=$1
next=$2
rc=$3
ncommsha1=$(wc -l <$sd/common_sha1)
ncommid=$(wc -l <$sd/common_id)
ncommsubj=$(wc -l <$sd/common_subj)
-ncomm=$((ncommsha1+ncommid+ncommsibj))
+ncomm=$((ncommsha1+ncommid+ncommsubj))
pcomm=$((ncomm*100/nrc))
cat <<EOF
$(git log --no-walk --stdin --pretty="format:%cE" <$sd/$next.sha1s.3 |
tr 'A-Z' 'a-z' | sort | uniq -c | sort -nr | head -n 10)
-Those commits by me are from the quilt series (mainly Andrew's mmotm
-tree).
+Those commits by me are from Andrew's mmotm tree.
EOF