Linux maintainer tooling and workflows
 help / color / mirror / Atom feed
* [PATCH] b4: Include git notes when generating patches
@ 2025-01-30 20:13 Yazen Ghannam
  2025-01-30 20:30 ` Konstantin Ryabitsev
  0 siblings, 1 reply; 4+ messages in thread
From: Yazen Ghannam @ 2025-01-30 20:13 UTC (permalink / raw)
  To: tools; +Cc: linux-kernel, konstantin, Yazen Ghannam

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@amd.com>
---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-01-30 21:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-30 20:13 [PATCH] b4: Include git notes when generating patches Yazen Ghannam
2025-01-30 20:30 ` Konstantin Ryabitsev
2025-01-30 21:04   ` Yazen Ghannam
2025-01-30 21:29     ` Konstantin Ryabitsev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox