Linux maintainer tooling and workflows
 help / color / mirror / Atom feed
From: Josh Steadmon <steadmon@google.com>
To: tools@linux.kernel.org
Subject: b4 doesn't notice updated base-commit
Date: Mon, 18 Apr 2022 10:30:27 -0700	[thread overview]
Message-ID: <Yl2gMy2Fgpe0TUZ5@google.com> (raw)

Hi, just noticed this minor bug in b4 v0.8.0: when fetching the latest
version of a series, b4 seems to always advise that the base-commit is
whatever was advertised in the first cover letter, even if the
base-commit changes for later versions of the series. An example (from
the Git list):

```
$ b4 am -o - pull.1161.v4.git.1647843442911.gitgitgadget@gmail.com | git am
Looking up https://lore.kernel.org/r/pull.1161.v4.git.1647843442911.gitgitgadget%40gmail.com
[...]
 Base: dab1b7905d0b295f1acef9785bb2b9cbb0fdec84
       git checkout -b v4_20220228_gitgitgadget_gmail_com dab1b7905d0b295f1acef9785bb2b9cbb0fdec84
```

However, v4 of that series doesn't apply cleanly on dab1b79, and if we
check the actual v4 message we see that it has a new base-commit of
74cc1aa55f30ed76424a0e7226ab519aa6265061.


Thanks,
Josh

             reply	other threads:[~2022-04-18 17:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-18 17:30 Josh Steadmon [this message]
2022-04-18 22:25 ` b4 doesn't notice updated base-commit Kyle Meyer

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=Yl2gMy2Fgpe0TUZ5@google.com \
    --to=steadmon@google.com \
    --cc=tools@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