summaryrefslogtreecommitdiffstats
path: root/scripts/kernel_bump.sh
diff options
context:
space:
mode:
authorTony Ambardar <itugrok@yahoo.com>2024-04-19 21:42:53 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2024-04-29 00:24:02 +0200
commit66252aa89255acf4082bf789f90eebeffb42abcc (patch)
treef2845f9ee321511efa2631fbeb50b4129428ff6e /scripts/kernel_bump.sh
parent30245a869e384f94bb297563c1f43c8c7c9a4b20 (diff)
downloadopenwrt-66252aa89255acf4082bf789f90eebeffb42abcc.tar.gz
openwrt-66252aa89255acf4082bf789f90eebeffb42abcc.tar.bz2
openwrt-66252aa89255acf4082bf789f90eebeffb42abcc.zip
scripts/kernel_bump: Fix commit text formatting
Text of a commit message body should wrap at 75 characters. Manual commits are expected to do so, but automated commits *must* do so to avoid adding repeated ugly commits. Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Diffstat (limited to 'scripts/kernel_bump.sh')
-rwxr-xr-xscripts/kernel_bump.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kernel_bump.sh b/scripts/kernel_bump.sh
index 0a123ea95a..b1c17d6c39 100755
--- a/scripts/kernel_bump.sh
+++ b/scripts/kernel_bump.sh
@@ -167,7 +167,7 @@ bump_kernel()
git commit \
--signoff \
--message "kernel/${platform_name}: Restore kernel files for v${source_version}" \
- --message "$(printf "This is an automatically generated commit which aids following Kernel patch history,\nas git will see the move and copy as a rename thus defeating the purpose.\n\nSee: https://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html\nfor the original discussion.")"
+ --message "$(printf "This is an automatically generated commit which aids following Kernel patch\nhistory, as git will see the move and copy as a rename thus defeating the\npurpose.\n\nFor the original discussion see:\nhttps://lists.openwrt.org/pipermail/openwrt-devel/2023-October/041673.html")"
git switch "${initial_branch:?Unable to switch back to original branch. Quitting.}"
GIT_EDITOR=true git merge --no-ff '__openwrt_kernel_files_mover'
git branch --delete '__openwrt_kernel_files_mover'