diff options
author | Patrick Uiterwijk <puiterwijk@redhat.com> | 2014-08-18 16:45:21 -0400 |
---|---|---|
committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2015-12-03 14:55:50 -0800 |
commit | 875bb10bd261596c43976e67d0660c803ef82301 (patch) | |
tree | f1fef5a5cdc9976a27f4e84ed335499cff5b4ada /rfc.sh | |
parent | 221b647d17de24d408761a0225d551b07ff8ac65 (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-x | rfc.sh | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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() |