#!/bin/bash
-TARGET="$(dirname $0)/../mails"/$(date +"%Y-%m-%d+%s").email
+TARGET="$(realpath --relative-to=. $(dirname $0)/../mails)"/$(date +"%Y-%m-%d+%s").email
to="$1"
cc="$2"
Cc: $cc
Subject: $subject
-FIXME: Add owner of second tree to To:
- Add author(s)/SOB of conflicting commits.
-
EOF
cat
) > $TARGET