initialize GIT_COMMITS variable
This commit is contained in:
parent
44d83dd474
commit
ca62314864
|
@ -113,7 +113,6 @@ print_options() {
|
||||||
}
|
}
|
||||||
|
|
||||||
hook_commit() {
|
hook_commit() {
|
||||||
GIT_COMMITS=""
|
|
||||||
|
|
||||||
if test -x "${GIT_BIN}"; then
|
if test -x "${GIT_BIN}"; then
|
||||||
# loop on possible directories managed by GIT
|
# loop on possible directories managed by GIT
|
||||||
|
@ -195,8 +194,9 @@ test -f /etc/evomaintenance.cf && . /etc/evomaintenance.cf
|
||||||
[ -n "${DRY_RUN}" ] || DRY_RUN=0
|
[ -n "${DRY_RUN}" ] || DRY_RUN=0
|
||||||
[ -n "${VERBOSE}" ] || VERBOSE=0
|
[ -n "${VERBOSE}" ] || VERBOSE=0
|
||||||
|
|
||||||
# initialize variable
|
# initialize variables
|
||||||
MESSAGE=""
|
MESSAGE=""
|
||||||
|
GIT_COMMITS=""
|
||||||
|
|
||||||
# Parse options
|
# Parse options
|
||||||
# based on https://gist.github.com/deshion/10d3cb5f88a21671e17a
|
# based on https://gist.github.com/deshion/10d3cb5f88a21671e17a
|
||||||
|
|
Loading…
Reference in a new issue