diff --git a/scripts/commit b/scripts/commit index 44688746..bf2ab137 100755 --- a/scripts/commit +++ b/scripts/commit @@ -81,9 +81,9 @@ if is_git_clean ; then log_info "OK: nothing to commit." else log_debug "msg:\"$msg\"" - log_debug "git add . ; git commit -a -m \"\$msg [\$(date --rfc-3339=ns)]\"" + log_debug "git add . ; git commit -a -m \"\$msg\"" git add . - git commit -a -m "$msg [$(date --rfc-3339=ns)]" >/dev/null + git commit -a -m "$msg" >/dev/null log_info "OK" fi diff --git a/scripts/etckeeper b/scripts/etckeeper index 268a8677..f0d1235b 100755 --- a/scripts/etckeeper +++ b/scripts/etckeeper @@ -39,8 +39,8 @@ log_info "Checking state of ${NGCPCTL_BASE} files" if is_git_clean ; then log_info "OK: nothing to commit." else - log_debug "etckeeper commit \"ngcpcfg apply on \$(date)\"" - etckeeper commit "ngcpcfg apply on $(date)" | sed "s/^/$timestamp_replacementchars/" + log_debug "etckeeper commit \"ngcpcfg apply\"" + etckeeper commit "ngcpcfg apply" | sed "s/^/$timestamp_replacementchars/" fi ## END OF FILE ################################################################# diff --git a/scripts/log b/scripts/log index bd498c8a..59780611 100755 --- a/scripts/log +++ b/scripts/log @@ -26,11 +26,11 @@ if [ -f "${FUNCTIONS}/ha_features" ] ; then exit 1 fi - git log "$@" --oneline --date-order --graph --date=rfc --format=format:"%h (%ar) %s %d" master origin/master + git log "$@" --oneline --date-order --graph --date=rfc --format=format:"%h (%ar) %s [%ai] %d" master origin/master else - git log "$@" --oneline --date-order --graph --date=rfc --format=format:"%h (%ar) %s %d" master + git log "$@" --oneline --date-order --graph --date=rfc --format=format:"%h (%ar) %s [%ai] %d" master fi