armbian-next: patching: patches-to-git: don't eat newline between subject and message

This commit is contained in:
Ricardo Pardini 2023-01-07 20:20:17 +01:00
parent a57e128cfa
commit f0a0fa3000
No known key found for this signature in database
GPG Key ID: 3D38CA12A66C5D02

View File

@ -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}"