From f2c201ee096d635ade4f53fb8d8f070936b72827 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 11 Feb 2012 10:23:59 +0000 Subject: [PATCH] Add scripts/generate-scst-patch, which is based on a script posted on scst-devel by Chetan Loke git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4120 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/generate-scst-patch | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 scripts/generate-scst-patch diff --git a/scripts/generate-scst-patch b/scripts/generate-scst-patch new file mode 100755 index 000000000..ddcb6d68d --- /dev/null +++ b/scripts/generate-scst-patch @@ -0,0 +1,26 @@ +#!/bin/bash +# +# A script to prepare a patch for posting on scst-devel@sourceforge.net. +# +# Copyright (C) 2012 Chetan Loke +# Copyright (C) 2012 Bart Van Assche +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License +# as published by the Free Software Foundation, version 2 +# of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +echo "Patch description:" +echo "Your description goes here..." +echo +echo "Signed-off-by: Write your name here " +echo --- +/usr/bin/svn diff "$@" | /usr/bin/diffstat +echo +/usr/bin/svn diff -x -p "$@" +echo