lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250130201331.73584-1-yazen.ghannam@amd.com>
Date: Thu, 30 Jan 2025 20:13:31 +0000
From: Yazen Ghannam <yazen.ghannam@....com>
To: <tools@...nel.org>
CC: <linux-kernel@...r.kernel.org>, <konstantin@...uxfoundation.org>, "Yazen
 Ghannam" <yazen.ghannam@....com>
Subject: [PATCH] b4: Include git notes when generating patches

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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ