Bug 218588 - b4 custom git diff options (like -B)
Summary: b4 custom git diff options (like -B)
Status: NEW
Alias: None
Product: Tools
Classification: Unclassified
Component: Infra (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: Konstantin Ryabitsev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-11 13:50 UTC by Bugbot
Modified: 2024-03-11 13:50 UTC (History)
0 users

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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)

Note You need to log in before you can comment on or make changes to this bug.