mirror of
				https://github.com/optim-enterprises-bv/openwrt-ipq.git
				synced 2025-10-30 17:58:28 +00:00 
			
		
		
		
	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>
This commit is contained in:
		 Tony Ambardar
					Tony Ambardar
				
			
				
					committed by
					
						 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
			
				
	
			
			
			 Hauke Mehrtens
						Hauke Mehrtens
					
				
			
						parent
						
							30245a869e
						
					
				
				
					commit
					66252aa892
				
			| @@ -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' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user