From: Tao Klerks <tao@klerks.biz>
To: Glen Choo <chooglen@google.com>
Cc: "Ævar Arnfjörð Bjarmason" <avarab@gmail.com>,
git <git@vger.kernel.org>, "Josh Steadmon" <steadmon@google.com>
Subject: Re: What does it mean to have multiple upstream tracking branches?
Date: Mon, 7 Mar 2022 07:09:28 +0100 [thread overview]
Message-ID: <CAPMMpoh96fHi7RbcMxrwkinyXiy-to6cnVACNKQV8C-7_vZH=g@mail.gmail.com> (raw)
In-Reply-To: <kl6l4k4ek73o.fsf@chooglen-macbookpro.roam.corp.google.com>
On Thu, Mar 3, 2022 at 11:24 PM Glen Choo <chooglen@google.com> wrote:
>
> Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
>
> >
> > Can you point out some existing tests where we end up with multiple
> > *.merge values? I looked a bit and couldn't find any.
> >
> > Or maybe it's only possible to get into that state with some command we
> > have a test blind spot for?
>
> Based on the discussion on that thread you mentioned, I don't think we
> have any such tests. I think the only way to get into this state is to
> manually modify the config.
There is now a way to get into such a state for a new branch, assuming
you were in such a state for an existing branch, and that is to use
"--track=inherit" when creating a new branch, branching from one
previously manually set up that way.
>
> The only docs I could find on 'multiple values' are from
> Documentation/config/branch.txt:
>
> branch.<name>.merge::
> [...]
> Specify multiple values to get an octopus merge.
>
Cool, hadn't seen that, thank you.
prev parent reply other threads:[~2022-03-07 6:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-03 6:16 What does it mean to have multiple upstream tracking branches? Tao Klerks
2022-03-03 12:54 ` Ævar Arnfjörð Bjarmason
2022-03-03 22:24 ` Glen Choo
2022-03-06 19:42 ` Ævar Arnfjörð Bjarmason
2022-03-07 6:16 ` Tao Klerks
2022-03-06 21:54 ` Junio C Hamano
2022-03-07 6:17 ` Tao Klerks
2022-03-07 12:12 ` Ævar Arnfjörð Bjarmason
2022-03-08 19:43 ` Josh Steadmon
2022-03-07 6:09 ` Tao Klerks [this message]
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='CAPMMpoh96fHi7RbcMxrwkinyXiy-to6cnVACNKQV8C-7_vZH=g@mail.gmail.com' \
--to=tao@klerks.biz \
--cc=avarab@gmail.com \
--cc=chooglen@google.com \
--cc=git@vger.kernel.org \
--cc=steadmon@google.com \
/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 NNTP newsgroup(s).