b4 ty doesn't respect -b for prs
Hi Konstantin,
When I run b4 ty to generate thank-you letters for a pull specifying -b the program doesn't find the merge commit:
$ b4 ty -b asoc-5.7 -s 2 Generating 1 thank-you letters Could not get merge commit id for [GIT PULL] ASoC: tegra: Fixes for v5.7-rc3 Was it actually merged?
however if I change to the branch it does:
$ git checkout asoc-5.7 Switched to branch 'asoc-5.7' $ b4 ty -b asoc-5.7 -s 2 Generating 1 thank-you letters Writing: ./thierry_reding_gmail_com_git_pull_asoc_tegra_fixes_for_v5_7_rc3.thanks
(asoc-5.7 is for-5.7 in my sound tree, the merge commit is now published.)
Thanks,
Mark
Quoted 9 lines · Mark Brown
When I run b4 ty to generate thank-you letters for a pull specifying -b
the program doesn't find the merge commit:$ b4 ty -b asoc-5.7 -s 2 Generating 1 thank-you letters Could not get merge commit id for [GIT PULL] ASoC: tegra: Fixes for v5.7-rc3 Was it actually merged?
Quoted 7 lines
however if I change to the branch it does:
$ git checkout asoc-5.7 Switched to branch 'asoc-5.7' $ b4 ty -b asoc-5.7 -s 2 Generating 1 thank-you letters Writing: ./thierry_reding_gmail_com_git_pull_asoc_tegra_fixes_for_v5_7_rc3.thanks
Good find -- there is a fix for this in master.
Quoted 2 lines
(asoc-5.7 is for-5.7 in my sound tree, the merge commit is now published.)
I see that your message says "undefined" here:
https://lore.kernel.org/alsa-devel/[email protected]/
I'll see if I can find something nicer for it to say instead.
-K
Quoted 6 lines · Konstantin Ryabitsev
Quoted 2 lines · Mark Brown
Generating 1 thank-you letters
Writing: ./thierry_reding_gmail_com_git_pull_asoc_tegra_fixes_for_v5_7_rc3.thanksGood find -- there is a fix for this in master.
Thanks.
Quoted 7 lines
Quoted 2 lines
(asoc-5.7 is for-5.7 in my sound tree, the merge commit is now published.)
I see that your message says "undefined" here:
https://lore.kernel.org/alsa-devel/[email protected]/I'll see if I can find something nicer for it to say instead.
I'm not sure there's something fundamentally better - it's basically "local tree" and not all of my local branches are tagged as tracking branches in git. Should've proofread properly before I sent it out.
Quoted 11 lines · Mark Brown
Quoted 7 lines
Quoted 2 lines
(asoc-5.7 is for-5.7 in my sound tree, the merge commit is now published.)
I see that your message says "undefined" here:
https://lore.kernel.org/alsa-devel/[email protected]/I'll see if I can find something nicer for it to say instead.
I'm not sure there's something fundamentally better - it's basically "local tree" and not all of my local branches are tagged as tracking branches in git. Should've proofread properly before I sent it out.
Well, even if it says "local tree" as the fallback default for ${treename}, that will be more informative than "undefined". That's what I'll probably set it to.
-K