[PATCH] b4: Include git notes when generating patches
From: Yazen Ghannam
Date: Thu Jan 30 2025 - 15:13:54 EST
By default, 'git show' will include git notes in its output. However,
this is not the case if '--format', or related flags, are given.
Include the '--notes' flag to include git notes in the generated patch.
This should have no effect on non-users of git notes.
Signed-off-by: Yazen Ghannam <yazen.ghannam@xxxxxxx>
---
src/b4/__init__.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/b4/__init__.py b/src/b4/__init__.py
index 4d234e01d993..23ee39bdabf9 100644
--- a/src/b4/__init__.py
+++ b/src/b4/__init__.py
@@ -3487,6 +3487,7 @@ def git_range_to_patches(gitdir: Optional[str], start: str, end: str,
gitdir,
[
'show',
+ '--notes',
'--format=email',
'--binary',
'--patch-with-stat',
--
2.43.0