b4 doesn't allow remote tracking branches
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
Hi Tom,
Le 2023-02-12 à 22:26, Tom Tromey a écrit :
Quoted 7 lines
I tried to do:
b4 prep -e origin/master
... but it gave me some error.
Instead I had to do 'b4 prep -e master'.
Quoted 6 lines
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.