From: Christian Grothoff Date: Wed, 23 Nov 2011 10:29:35 +0000 (+0000) Subject: adding shell script to show changes prior to commit to reduce submission foo-bars X-Git-Tag: initial-import-from-subversion-38251~15839 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=feadcdb61cd9791be3b4b76f6625a94e05718295;p=oweals%2Fgnunet.git adding shell script to show changes prior to commit to reduce submission foo-bars --- diff --git a/contrib/submit b/contrib/submit new file mode 100755 index 000000000..552b253d2 --- /dev/null +++ b/contrib/submit @@ -0,0 +1,13 @@ +#!/bin/sh +echo "Are you sure you want to commit changes to these files?" +svn status +read dummy +svn diff +echo "Are you sure you want to commit the changes above (CTRL-C to abort)" +read dummy +if test 0 != $# +then + svn commit -m "$*" +else + svn commit +fi