Linux maintainer tooling and workflows
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Cc: users@linux.kernel.org, tools@linux.kernel.org
Subject: Re: "b4 trailers -u" chops off patch subjects
Date: Thu, 22 Sep 2022 14:42:59 -0700	[thread overview]
Message-ID: <YyzW46WQ47HUKTSx@google.com> (raw)
In-Reply-To: <YyzWI/zCGli+3UcQ@google.com>

[CC-ing mailing lists...]

On Thu, Sep 22, 2022 at 02:39:47PM -0700, Dmitry Torokhov wrote:
> Hi Konstantin,
> 
> It looks like "b4 trailers -u" removes patch subjects from commits,
> leaving only body:
> 
> dtor@dtor-ws:~/kernel/linux-next (get_gpiod_from_child-remove)$ git log --oneline -5
> a31ab9768271 (HEAD -> get_gpiod_from_child-remove) gpiolib: remove devm_fwnode_get_[index_]gpiod_from_child()
> 359e79d23882 leds: lgm-sso: switch to using devm_fwnode_gpiod_get()
> 991ff1b001c0 leds: gpio: switch to using devm_fwnode_gpiod_get()
> 7820e4c4f360 Get rid of devm_fwnode_get_[index_]gpiod_from_child()
> 483fed3b5dc8 (tag: next-20220921, origin/master, origin/HEAD) Add linux-next specific files for 20220921
> dtor@dtor-ws:~/kernel/linux-next (get_gpiod_from_child-remove)$ b4 trailers -u
> Calculating patch-ids from 2 commits
> Checking change-id "20220902-get_gpiod_from_child-remove-a62638849e91"
> Grabbing search results from lore.kernel.org
> ---
>   leds: gpio: switch to using devm_fwnode_gpiod_get()
>     + Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> (✓ DKIM/gmail.com)
>     + Reviewed-by: Linus Walleij <linus.walleij@linaro.org> (✓ DKIM/linaro.org)
>   leds: lgm-sso: switch to using devm_fwnode_gpiod_get()
>     + Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> (✓ DKIM/gmail.com)
>     + Reviewed-by: Linus Walleij <linus.walleij@linaro.org> (✓ DKIM/linaro.org)
>   gpiolib: remove devm_fwnode_get_[index_]gpiod_from_child()
>     + Acked-by: Bartosz Golaszewski <brgl@bgdev.pl> (✓ DKIM/bgdev-pl.20210112.gappssmtp.com)
>     + Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> (✓ DKIM/gmail.com)
>     + Reviewed-by: Linus Walleij <linus.walleij@linaro.org> (✓ DKIM/linaro.org)
> ---
> Invoking git-filter-repo to update trailers.
> New history written in 0.12 seconds...
> Completely finished after 0.52 seconds.
> Trailers updated.
> dtor@dtor-ws:~/kernel/linux-next (get_gpiod_from_child-remove)$ git log --oneline -5
> fcd562595314 (HEAD -> get_gpiod_from_child-remove) Now that there are no more users of these APIs in the kernel we can remove them.
> 34557baea2d5 devm_fwnode_get_gpiod_from_child() is going away as the name is too unwieldy, let's switch to using the new devm_fwnode_gpiod_get().
> 443abc336e8d devm_fwnode_get_gpiod_from_child() is going away as the name is too unwieldy, let's switch to using the new devm_fwnode_gpiod_get().
> 7820e4c4f360 Get rid of devm_fwnode_get_[index_]gpiod_from_child()
> 483fed3b5dc8 (tag: next-20220921, origin/master, origin/HEAD) Add linux-next specific files for 20220921
> dtor@dtor-ws:~/kernel/linux-next (get_gpiod_from_child-remove)$
> 
> Please see how patches changed after running b4. This is with ToT checkout:
> 
> 6c215d8 ez: don't send a cover letter for a 1-patch series
> 
> Thanks!
> 

-- 
Dmitry

       reply	other threads:[~2022-09-22 21:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <YyzWI/zCGli+3UcQ@google.com>
2022-09-22 21:42 ` Dmitry Torokhov [this message]
2022-09-22 22:05   ` "b4 trailers -u" chops off patch subjects Konstantin Ryabitsev
2022-09-23 16:46     ` Dmitry Torokhov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YyzW46WQ47HUKTSx@google.com \
    --to=dmitry.torokhov@gmail.com \
    --cc=konstantin@linuxfoundation.org \
    --cc=tools@linux.kernel.org \
    --cc=users@linux.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 read-only IMAP folder(s) and NNTP newsgroup(s).