1#!/bin/sh
2
3COMMIT=$1
4INTEL=intel
5DIN=${INTEL}/drm-intel-nightly
6
7git fetch ${INTEL}
8git merge-base --is-ancestor ${DIN} ${COMMIT} || {
9	echo Tree is out of date
10	exit 1
11}
12
13git send-email --to intel-gfx-trybot@lists.freedesktop.org --suppress-cc=all ${DIN}..${COMMIT}
14