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
This commit is contained in:
Bart Van Assche
2012-02-11 10:23:59 +00:00
parent 37cbdb03df
commit f2c201ee09

26
scripts/generate-scst-patch Executable file
View File

@@ -0,0 +1,26 @@
#!/bin/bash
#
# A script to prepare a patch for posting on scst-devel@sourceforge.net.
#
# Copyright (C) 2012 Chetan Loke <loke.chetan@gmail.com>
# Copyright (C) 2012 Bart Van Assche <bvanassche@acm.org>
#
# 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 <write-your-email-addr@your-host.com>"
echo ---
/usr/bin/svn diff "$@" | /usr/bin/diffstat
echo
/usr/bin/svn diff -x -p "$@"
echo