tools.linux.kernel.org archive mirror
 help / color / mirror / Atom feed
* b4 custom git diff options (like -B)
@ 2024-03-10 11:21 Luca Weiss
  2024-03-11 13:44 ` Konstantin Ryabitsev
  2024-03-11 13:50 ` Kernel.org Bugbot
  0 siblings, 2 replies; 3+ messages in thread
From: Luca Weiss @ 2024-03-10 11:21 UTC (permalink / raw)
  To: tools

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



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

* Re: b4 custom git diff options (like -B)
  2024-03-10 11:21 b4 custom git diff options (like -B) Luca Weiss
@ 2024-03-11 13:44 ` Konstantin Ryabitsev
  2024-03-11 13:50 ` Kernel.org Bugbot
  1 sibling, 0 replies; 3+ messages in thread
From: Konstantin Ryabitsev @ 2024-03-11 13:44 UTC (permalink / raw)
  To: Luca Weiss; +Cc: tools

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

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

* Re: b4 custom git diff options (like -B)
  2024-03-10 11:21 b4 custom git diff options (like -B) Luca Weiss
  2024-03-11 13:44 ` Konstantin Ryabitsev
@ 2024-03-11 13:50 ` Kernel.org Bugbot
  1 sibling, 0 replies; 3+ messages in thread
From: Kernel.org Bugbot @ 2024-03-11 13:50 UTC (permalink / raw)
  To: tools, tools, luca

Hello:

This conversation is now tracked by Kernel.org Bugzilla:
https://bugzilla.kernel.org/show_bug.cgi?id=218588

There is no need to do anything else, just keep talking.
-- 
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (peebz 0.1)


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

end of thread, other threads:[~2024-03-11 13:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-10 11:21 b4 custom git diff options (like -B) Luca Weiss
2024-03-11 13:44 ` Konstantin Ryabitsev
2024-03-11 13:50 ` Kernel.org Bugbot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).