Bug 218588

Summary: b4 custom git diff options (like -B)
Product: Tools Reporter: Bugbot (bugbot)
Component: InfraAssignee: Konstantin Ryabitsev (konstantin)
Status: NEW ---    
Severity: normal    
Priority: P3    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:

Description Bugbot 2024-03-11 13:50:19 UTC
Luca Weiss <luca@z3ntu.xyz> writes:

Hi all,

I'm looking for a way to make b4 use the "-B" ("--break-rewrites") option for 
git diff when sending a patch where this option makes the diff way more 
readable than without.

I currently don't see any way to either tell b4 to use this option, or to tell 
git to (temporarily) use this option when generating any diff.

For now I'm hacking up b4 in git_range_to_patches to add "-B" to the git show 
command there, but I think it would make sense that adding custom options for 
a single series was supported with some b4 prep command.

Regards
Luca

(via https://msgid.link/12393372.O9o76ZdvQC@g550jk)
Comment 1 Bugbot 2024-03-11 13:50:24 UTC
Konstantin Ryabitsev <konstantin@linuxfoundation.org> writes:

On Sun, Mar 10, 2024 at 12:21:20PM +0100, Luca Weiss wrote:
> I'm looking for a way to make b4 use the "-B" ("--break-rewrites") option for 
> git diff when sending a patch where this option makes the diff way more 
> readable than without.
> 
> I currently don't see any way to either tell b4 to use this option, or to
> tell 
> git to (temporarily) use this option when generating any diff.

Yes, this should exist.

bugbot assign to me

(via https://msgid.link/20240311-gifted-guillemot-from-nibiru-8a3bbe@lemur)