scripts/pull-request.sh

14 lines
292 B
Bash
Executable File

#!/bin/bash
url=git://git.linux-nfs.org/projects/anna/linux-nfs.git
[ -z "$1" ] && tag="v6.*-rc*" || tag="$1"
old=$(git describe --tags --abbrev=0 --match $tag)
new=$(git describe)
echo "Subject: [GIT PULL] <INSERT SUBJECT HERE>"
echo
echo "Hi Linus,"
echo
git request-pull $old $url $new