From f0a0fa30002f7ccd15febf91b4f66b2efdbfdb13 Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Sat, 7 Jan 2023 20:20:17 +0100 Subject: [PATCH] armbian-next: patching: patches-to-git: don't eat newline between subject and message --- lib/tools/common/patching_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tools/common/patching_utils.py b/lib/tools/common/patching_utils.py index 8333c41db8..863500e372 100644 --- a/lib/tools/common/patching_utils.py +++ b/lib/tools/common/patching_utils.py @@ -447,7 +447,7 @@ class PatchInPatchFile: log.warning(f"Rescue: adding all changed files to git for {self}") repo.git.add(repo.working_tree_dir) - commit_message = f"{self.subject}\n{self.desc}" + commit_message = f"{self.subject}\n\n{self.desc}" if add_rebase_tags: commit_message = f"{self.parent.relative_dirs_and_base_file_name}(:{self.counter})\n\nOriginal-Subject: {self.subject}\n{self.desc}"