adding shell script to show changes prior to commit to reduce submission foo-bars
authorChristian Grothoff <christian@grothoff.org>
Wed, 23 Nov 2011 10:29:35 +0000 (10:29 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 23 Nov 2011 10:29:35 +0000 (10:29 +0000)
contrib/submit [new file with mode: 0755]

diff --git a/contrib/submit b/contrib/submit
new file mode 100755 (executable)
index 0000000..552b253
--- /dev/null
@@ -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