tools.linux.kernel.org archive mirror
 help / color / mirror / Atom feed
* b4 doesn't allow remote tracking branches
@ 2023-02-13  3:26 Tom Tromey
  2023-02-22  2:12 ` Philippe Blain
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Tromey @ 2023-02-13  3:26 UTC (permalink / raw)
  To: tools

I tried to do:

    b4 prep -e origin/master

... but it gave me some error.
Instead I had to do 'b4 prep -e master'.

Then, today, I forgot to checkout master + rebase before doing a 'b4
send', so it sent some random patches from origin/master as part of my
series.

I think it would be nice if b4 let me use a remote branch as the base
for my branch.  'git rebase' has no issue with this.

thanks,
Tom

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

* Re: b4 doesn't allow remote tracking branches
  2023-02-13  3:26 b4 doesn't allow remote tracking branches Tom Tromey
@ 2023-02-22  2:12 ` Philippe Blain
  0 siblings, 0 replies; 2+ messages in thread
From: Philippe Blain @ 2023-02-22  2:12 UTC (permalink / raw)
  To: Tom Tromey, tools

Hi Tom,

Le 2023-02-12 à 22:26, Tom Tromey a écrit :
> I tried to do:
> 
>     b4 prep -e origin/master
> 
> ... but it gave me some error.
> Instead I had to do 'b4 prep -e master'.
> 
> Then, today, I forgot to checkout master + rebase before doing a 'b4
> send', so it sent some random patches from origin/master as part of my
> series.
> 
> I think it would be nice if b4 let me use a remote branch as the base
> for my branch.  'git rebase' has no issue with this.

I completely agree. In fact, I don't usually have a local 'master' branch 
(and when I do, it's usually not up to date). 

I sent a patch to support remote-tracking branches in 'b4 prep -e':
https://lore.kernel.org/tools/20230219-allow-remote-branches-as-base-v1-1-a1cf7948b2cc@gmail.com/T/#u

Cheers,

Philippe.

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

end of thread, other threads:[~2023-02-22  2:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-13  3:26 b4 doesn't allow remote tracking branches Tom Tromey
2023-02-22  2:12 ` Philippe Blain

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).