[openwrt/openwrt] scripts/kernel_bump: Fix commit text formatting

LEDE Commits lede-commits at lists.infradead.org
Sun Apr 28 15:25:55 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/66252aa89255acf4082bf789f90eebeffb42abcc

commit 66252aa89255acf4082bf789f90eebeffb42abcc
Author: Tony Ambardar <itugrok at yahoo.com>
AuthorDate: Fri Apr 19 21:42:53 2024 -0700

    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 at yahoo.com>
---
 scripts/kernel_bump.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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'




More information about the lede-commits mailing list