summaryrefslogtreecommitdiffstats
path: root/rfc.sh
diff options
context:
space:
mode:
authorPatrick Uiterwijk <puiterwijk@redhat.com>2014-08-18 16:45:21 -0400
committerKaleb KEITHLEY <kkeithle@redhat.com>2015-12-03 14:55:50 -0800
commit875bb10bd261596c43976e67d0660c803ef82301 (patch)
treef1fef5a5cdc9976a27f4e84ed335499cff5b4ada /rfc.sh
parent221b647d17de24d408761a0225d551b07ff8ac65 (diff)
Make rfc.sh show what its actually doing
Change-Id: Ifb9246a2680e5f985871d4209b46dd803979c2e1 BUG: 1131275 Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com> Reviewed-on: http://review.gluster.org/8496 Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Diffstat (limited to 'rfc.sh')
-rwxr-xr-xrfc.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/rfc.sh b/rfc.sh
index 287768eae8b..5da88b651b1 100755
--- a/rfc.sh
+++ b/rfc.sh
@@ -4,6 +4,19 @@
# i.e. where we are interested in the result of a command,
# we have to run the command in an if-statement.
+
+while getopts "v" opt; do
+ case $opt in
+ v)
+ # Verbose mode
+ function git () { >&2 echo "git $@" && `which git` $@; }
+ ;;
+ esac
+done
+# Move the positional arguments to the beginning
+shift $((OPTIND-1))
+
+
branch="master";
set_hooks_commit_msg()