#!/bin/bash log=../merge.log [ -f merge.log ] && log=merge.log control=../real_control [ -f real_control ] && control=real_control branch=$(grep '^Merging ' $log | tail -1 | sed 's/^Merging //') branch=${branch#quilt/} branch=${branch%%/*} contact=$(sed -n "/ $branch /s/ .*$//p" $control) sylpheed --compose "mailto:$contact?Cc=linux-next@vger.kernel.org&Subject=linux-next: manual merge of $branch tree&Body=Hi ,%0A\ %0A\ Today's linux-next merge of the $branch tree got a conflict in between commit ("") from the tree and commit ("") from the $branch tree."