From: Zygo Blaxell Date: Sat, 29 Oct 2022 15:35:19 +0000 (-0400) Subject: zygo: config-kernel: allow hungry-linux-build to write a boilerplate log message X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de6b66e03298f9f94313edfeabb6c75d4d15ff76;p=linux zygo: config-kernel: allow hungry-linux-build to write a boilerplate log message --- diff --git a/zygo/config-kernel b/zygo/config-kernel index abe750f1084a..458856a4488c 100755 --- a/zygo/config-kernel +++ b/zygo/config-kernel @@ -1,3 +1,9 @@ #!/bin/sh set -x -KCONFIG_NOTIMESTAMP=1 make -j oldconfig && git add -f .config && git commit +if KCONFIG_NOTIMESTAMP=1 make -j oldconfig && git add -f .config; then + if [ -n "$1" ] then + git commit -m"$1" + else + git commit + fi +fi