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>
This commit is contained in:
Patrick Uiterwijk 2014-08-18 16:45:21 -04:00 committed by Kaleb KEITHLEY
parent 221b647d17
commit 875bb10bd2

13
rfc.sh
View File

@ -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()