diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-23 10:29:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-23 10:29:35 +0000 |
commit | feadcdb61cd9791be3b4b76f6625a94e05718295 (patch) | |
tree | 37532561db0fb9a322f9961db07bbddbb2d7a276 /contrib | |
parent | 041a7cc4594281f8ef255530ee56d602b1e579b5 (diff) | |
download | gnunet-feadcdb61cd9791be3b4b76f6625a94e05718295.tar.gz gnunet-feadcdb61cd9791be3b4b76f6625a94e05718295.zip |
adding shell script to show changes prior to commit to reduce submission foo-bars
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/submit | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/submit b/contrib/submit new file mode 100755 index 000000000..552b253d2 --- /dev/null +++ b/contrib/submit | |||
@@ -0,0 +1,13 @@ | |||
1 | #!/bin/sh | ||
2 | echo "Are you sure you want to commit changes to these files?" | ||
3 | svn status | ||
4 | read dummy | ||
5 | svn diff | ||
6 | echo "Are you sure you want to commit the changes above (CTRL-C to abort)" | ||
7 | read dummy | ||
8 | if test 0 != $# | ||
9 | then | ||
10 | svn commit -m "$*" | ||
11 | else | ||
12 | svn commit | ||
13 | fi | ||